February 4, 200818 yr I am creating a button that performs a script to open a layout. I am using a perform find in the script to filter the records shown, but I want one of the criterial to calculate against the current system date but I can not fine what to use so that it references the current date. eg I want to have EndDate > CurrentDate Where end date is the relevant field.
February 4, 200818 yr Have a look at Get(CurrentDate). That returns the current date as set by the system HTH Phil
February 4, 200818 yr Author Yea I though that, as I have used it in Calculations before but in this format it didn't work it just told me it needed a valid date format.
February 4, 200818 yr Try: Go to Layout [ Your Layout ] Enter Find Mode [ ] Set Field [ YourTable::EndDate ; ">" & Get ( CurrentDate ) ] Perform Find [ ]
February 4, 200818 yr Author Sorry guys just found it. I have been really stupid. Aparently // in this find means today's date
Create an account or sign in to comment