Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8176 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

i am having some trouble creating a find scrpit that will find on my balance field, a set vaule. For example

i need ti find all records with a balance greater than zero.

i have tried this several ways i just can't seem to have it enter the ">0" symbol in this field automatically.

please Help

RET

Posted

a simple script would be.

enter find mode

insert >0 in your bal due field

perform find

be sure you deselect restore find requests.

Posted

I had the same, searching for all the clients that had the field borrowed_materials >0. Here is where the <show omitted> function comes handy. You find all the values that are zero, with <show omitted> you reverse the found set to the records with the field non-zero. Your code should be something like this:

enter find mode

setfield(yourfield,0)

perform find

enter browse mode

show omitted

harryk

Posted

I can think of a couple ways of doing this. First, the easiest:

Perform your find manually (Enter find mode, go to your balance field enter the > sign and enter a zero). Then go to ScriptMaker:

Perform Find [Restore]

It will remember what your last find request was.

Another way is to go like this:

Enter Find Mode [ ]

Set field [balanceField, "">0""] (make sure the calc has the "" marks

Perform Find [ ]

Ken

This topic is 8176 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.