Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETALL FUNCTION
Message
De
23/04/1999 20:50:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
SETALL FUNCTION
Divers
Thread ID:
00211820
Message ID:
00211820
Vues:
37
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform