April 23, 20169 yr Newbies I have a table that has name, status, and Year of Start of Service. I need to run a report that shows only the ones with a status of active. I know how to generate the report with name, status and Year but cannot figure out where I insert a script or run it to get only the specific information. I am new to this and any help will be appreciated. I imagine it is a fairly basic task but am a bit lost.
April 23, 20169 yr Hi FC, You will need to perform a find before switching to your report layout. Your script, then, might look similar to this: Enter Find Mode [ ] ... do not pause Set Field [ yourTable::Status ; "Active" ] Set Error Capture [ on ] Perform Find [ ] If [ not Get ( FoundCount ) ] Show Custom Dialog [ "OK" ; "No records found." ] Exit Script End If # now you have records to generate your report Go To Layout [ 'layout based upon your report' ]
Create an account or sign in to comment