Dec 6, 2001 #1 Greg25 Technical User May 30, 2001 159 US I have a table inventory I guess this would have to be done from a query Create query when stock [on hand] is =< 10000 Would like to run macro send mail Is this possible? Greg K & G Design kgdesign@warwick.net
I have a table inventory I guess this would have to be done from a query Create query when stock [on hand] is =< 10000 Would like to run macro send mail Is this possible? Greg K & G Design kgdesign@warwick.net
Dec 6, 2001 #2 braindead2 Technical User Nov 11, 2010 647 GB dlookup() or dsum() would also accomplish this. I would put it in the forms after insert event if dsum("[stockonhand]","yourtable","stocknum = "& me.stocknum) > 10000 then do this end if Upvote 0 Downvote
dlookup() or dsum() would also accomplish this. I would put it in the forms after insert event if dsum("[stockonhand]","yourtable","stocknum = "& me.stocknum) > 10000 then do this end if