Jump to content

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

Recommended Posts

Posted

Hello All:

I am having a rough day today because I cant figure this out:

I have a field in a database that is a text field. It is pulling from a value list of Yes and No. When the user completes the search and the click on a button to start another search, i need to clear the check boxes in the table. They are for reference only.

I can get this to happen by using setfield= "". That works well on the first record in the table, but i can not seem to get it to loop correctly and remove all check boxes.

Any thought?

Thanks

Lakota

Posted

Hi Lakota,

This should do it for you.

Go to Record/Request/Page

[ First ]

Loop

Set Field [ YourFieldHere , "" ]

Go to Record/Request/Page

[ Next, Exit after last ]

End Loop

HTH

Lee

smile.gif

Posted

If you do a Loop, you might want a Freeze Window before it starts, it can speed up loops a lot. An alternative to the Loop/Set Field is the Replace command. Note that both Replace and Set Field can potentially generate an error in a multi-user environment, if the record you're trying to modify is already in use by another user.

Posted

Fitch and Lee:

Thank you both for your help with this. It seems to work for the first record only. Not sure why. I am using a portal (did not mention that before_ SORRY), so i switched it around a bit to look at the first portal row, but even that did not work.

Any thoughts?

Thanks

Lakota

Posted

Lakota said:

I am using a portal (did not mention that before_ SORRY), so i switched it around a bit to look at the first portal row, but even that did not work.

You have (at least) two tables, which are related

This topic is 7564 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.