Jump to content
Sign in to follow this  
brittbradHG

Script Edit to Omit Invoices with a balance

Recommended Posts

brittbradHG

Hi there,

 

I inherited a Filemaker database at a new job and I am trying to correct a pre existing script to Omit records with a invoice balance greater than 0.

I have tried to edit this script with an If Function and a Omit function and both cause the resulting report to choose dates out side of those commanded in the [ Select ; GallerySales::DateInvoice ; Gallery Sales ::g_criteria ] command. 

And advice would be appreciated.

 

Current Script:

Go to Layout ["A/R Report w/Details" (GallerySales) ; Animation: None]

Enter Find Mode [Pause : Off ]

Insert Calculated Result [ Select ; GallerySales::DateInvoice ; Gallery Sales ::g_criteria ]

Perform Find [ Restore ]

Sort Records [ Restore ; With Dialog : Off]

Enter Preview Mode [ Pause : On]

Perform Script [ Specified : From list ; "Print or Not to Print" Parameter : ]

Enter Browse Mode [ Pause : Off] 

Share this post


Link to post
Share on other sites
Steve Martino
Enter Find Mode [Pause: Off]
Set Field [YOURTABLE::BalanceField] ; "*"]
Perform Find [ ] 

Should find records with a balance.  Make sure you take 'Restore' out of your 'Perform Find'.

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  



×
×
  • Create New...

Important Information

Terms of Use