Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2 issues
Message
De
07/01/2000 11:29:26
 
 
À
07/01/2000 09:14:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00314435
Message ID:
00314522
Vues:
24
Hi Don,

>First, how do I control the valid event within a textbox on a form and the user wants to exit the form instead of satisfying the valid. The valid keeps firing false and preventing the form from closeing.

If you are choosing Cancel to not save, and want all valids to pass so you can revert the values, change your Cancel button's Cancel property to .T., then in your valid, the first line can be:
if lastkey() = 27
    return .t.
endif
>Second, can I use multiple fields with a combobox set as a dropdown list ? I keep getting an field error when I include more then 1 field.

Sure, what is your RecordSource and RecordSourceType? It should be MyTable.Field1,Field2 and Fields.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform