Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SETALL FUNCTION
Message
From
23/04/1999 20:50:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
SETALL FUNCTION
Miscellaneous
Thread ID:
00211820
Message ID:
00211820
Views:
40
Hello everyone:

I have a form (office search form) with 6 combo boxes on it for users to select choices, to pinpoint a political office.

I posted a message this morning, trying to find a way to CLEAR the combo boxes of any selections that had been made, so the user can select again.

Example: a user may get down to the 5th combo box and decide he/she wants to start over. So, I want to give him/her an option to clean the slate, and start fresh.

A developer this morning helped me with the following code for my CLICK event. I placed a cmd button on my form, entitled CLEAR.

In the cmb button click event, I placed:

THISFORM.SetAll("value","","combobox")


** Sometimes it works, and sometimes I get an error message that says>

"record is out of range"


Does anyone know why I am getting that, and how I can fix it?


TIA
Jason
Next
Reply
Map
View

Click here to load this message in the networking platform