Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to control record pointer in grid
Message
De
29/03/2002 04:20:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to control record pointer in grid
Divers
Thread ID:
00638847
Message ID:
00638847
Vues:
58
I am trying to develop an entry form with two DBF
SALEMAST.dbf(parent) and SALEDET.dbf(child) with
joining field INVOICENO and Child table contain another field Itemcode

The SALEDET is attached to GRID but the grid contains no column with
INVOICENO field. and Allownewreocrd property is set to .T.

At the begining when I add record to parent I append a blank record
to the child and replace child INVOICENO field with Parent INVOICENO
field.

And when entering record in GRID with DOWN ARROW, I again replace the
child INVOICENO field value with parent INVOICENO field.

Upto this, it is working fine.

But I don't what any record in child table with blank Itemcode
Now when I am at the last row of GRID with blank Itemcode column -
if I key in UPARRROW - I use tablerevert(.f.,'saledet')
and record pointer move to the above row.

But if I key-in DOWNARROW, then again tablerevert remove the record
with blank itemcode but record pointer move to EOF() and
grid contains no row.


Suggest me some solution.

Aritra
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform