Enter Find Mode
Set Field [ vwCustomerStatement::InvoiceDate ; CustomerStatementCriteria::Find_FromDate & "..." & CustomerStatementCriteria::Find_ToDate ]
Set Error Capture [on]
Find_FromDate and Find_ToDate must also have global storage specified in order for this script to work. (With data in non-global fields, you would copy the data into variables before entering find mode and then use the data in the variables to contstruct your find criteria.)
Many thanks PhillModJunk , it's working
But the date formate is m/d/yyyy i want to convert it to dd/MM/yyyy !!
any idea !
The method works with either date format. The format for display purposes can be specified in data format on the inspector tab. The format used for data entry can be controlled by setting preferences to use your computer's system formats.