set value to record date and time

rainbows

Registered User.
Local time
Today, 10:14
Joined
Apr 21, 2017
Messages
428
this marco i found on an old database that records the date and time when the stockqty gets changed via the after update event
so i thought i could do the same think on a new database but i cannot find the "setvalue" from the dropdown box can you please advise what i am doing wrong

thanks steve



1689357601332.png
 
thank you , now working

steve
 
since checking what pat asked i have checked something and it is not quite doing what i would like it to do
when i type the qty into the stockqty field the datemodified works ok . but with my latest modification to the form it will not work

in the form below you can see a stock qty of 1260 if i change that manually the date /time will be recorded but having automated this function with an append query that stock will changes when i tick the "stock change" button but the datemodified dont. can i get it to do it both ways ?

steve
1689447789394.png
 

Attachments

  • 1689447609625.png
    1689447609625.png
    235.6 KB · Views: 142
I have removed the macro and did you you advised and changed the append query to include the datemodified and all seems to be ok
thank you will test again later today with real data not my test data
 

Users who are viewing this thread

Back
Top Bottom