Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to search record in buffer?
Message
De
28/10/2003 08:20:33
Mike Sontillano
Travellers Life Assurance of the Philipp
Naga, Philippines
 
 
À
28/10/2003 02:46:20
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00842961
Message ID:
00843472
Vues:
30
Hi Cetin,

Im sorry if I didn't clarify my reply to you. Yes xbase command.
Anyway I tried this code and it works:

(thisform.grid1.column1.text1.lostfocus)

LOCAL lcNewSerial
lcNewSerial=THIS.VALUE
SELE TABLE1
INDEXSEEK(lcNewSerial)
IF FOUND()
IF RECNO() < 0
WAIT WIND "found" NOWAIT
ELSE
WAIT WIND "not found" NOWAIT
ENDIF
ENDIF


However, it doesn't work in one-to-many relationship.
Parent table has (drnumber index)
child table have (dr_number,serialno indexes)

Can you please help me with this..

Thanks again...

MIke
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform