I created a custom table and have a field that has a data type of Date. How can I have that default to today’s date?
Hi,
In the Oninsert trigger add
if MyDate = 0D then
MyDate := TODAY;
TODAY - gives the calander date
WORKDATE - gives the work date
Thank you. That does work but it waits until I go to the next line for it to be shown on the form. Is there some way to have the form’s line default to that date? I’m guessing I would then remove the oninsert code.
Hi
In What type of form you are working on.? (In Card Or any journal type)…do you want want something like Navision have in Journal Form …where posting date automatically fills on opening form
Check that.