Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filter clear
Message
De
16/10/2004 00:24:55
 
 
À
16/10/2004 00:18:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00951906
Message ID:
00951910
Vues:
11
Mohammed,

You can also try this:
WITH ThisForm
   lcBillNo = .Text1.Value
   ldDateIn = .Text2.Value
ENDWITH

SELECT * FROM mstr INTO CURSOR temp WHERE BILLNO=lcBillNo AND DATEIN=lcDateIn

IF _TALLY <= 0
   MESSAGEBOX( "No records found!" )
ENDIF
Hope to help,

Dennis


>hi,
>thank you for reply.
>
>i mean new code do the same work(another way)
>
>SELECT mstr
>>LOCATE FOR BILLNO=THISFORM.TEXT1.VALUE .AND. DATEIN=THISFORM.TEXT2.VALUE
>>IF FOUND()
>>SET FILTER TO BILLNO=THISFORM.TEXT1.VALUE .AND. DATEIN=THISFORM.TEXT2.VALUE
>>
>
>
>
>thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform