Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locate
Message
De
27/04/2005 03:38:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Locate
Versions des environnements
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Divers
Thread ID:
01008733
Message ID:
01008733
Vues:
70
hi all,
i try to locate, if found or not via this code,

this part it works
mac1=thisform.grid1.column1.text1.value AND typ=upper(ALLTRIM(thisform.grid1.column2.text1.Value)) &&this code works
this part not
AND dat=UPPER(ALLTRIM(thisform.text5.value))
AND peri=UPPER(alltrim(thisform.combo2.value)) && this code not works
all code as under
select table1
LOCATE FOR mac1=thisform.grid1.column1.text1.value AND typ=upper(ALLTRIM(thisform.grid1.column2.text1.Value)) AND peri=UPPER(alltrim(thisform.combo2.value)) and dat=UPPER(ALLTRIM(thisform.text5.value))

IF FOUND()
  =MESSAGEBOX("found")
else
....

ENDIF
thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform