Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SETFOCUS( ) Error
Message
De
27/07/2000 14:11:47
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00397679
Message ID:
00397770
Vues:
10
HI alexander,

Try putting your code directly into the valid event of the textbox. Then use RETURN .F. OR Set a flag in the procedure:

ELSE
WAIT WINDOW "No Matching Customer Found."
Thisform.txtCustno.Value = ""
did_not_get_it = .T.
ENDIF

In the valid event after the call to the procedure do

THISFORM.m_query
IF did_not_get_it
did_not_get_it = .F.
RETURN .F.
ENDIF

HTH
Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform