March 20, 200916 yr Newbies I have written a script to perform find of records within a date range. I want to add to that: find and omit records (of found date range set) by status (another field). Any help for a rookie woudl be appreciated...
March 21, 200916 yr Not sure what you're asking. You can either modify your original Find, or do a second find using Constrain Found Set.
March 21, 200916 yr Author Newbies Thanks If I have: enter find mode set field [table::date field;get (current date) &"..."& get(current date)+7] Perform find and want to add script which will omit records with "Cancelled" or "Declined" in the "Status" field. Do I add this before the perform find? Do I put both in the same calculated result? Thanks.
March 21, 200916 yr Try it this way: Enter Find Mode [] Set Field [ table::date field ; Get (CurrentDate) &".."& Get (CurrentDate)+7 ] New Record/Request Set Field [ table::Status ; "Cancelled" ] Omit Record New Record/Request Set Field [ table::Status ; "Declined" ] Omit Record Perform Find []
Create an account or sign in to comment