Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid & Related tables
Message
De
04/10/2002 01:30:13
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00707374
Message ID:
00707669
Vues:
37
Hello Nadia
Did you use any relations between these tables, if so, the problems can be.
For example, let grid allowaddnew =.t. and one of the columns is from related table.
If we have few records in the main table and press down arrow ( add record )
this record will show reference from previous record, just we did set the key for reference. I used relations in 1997 for strings of trade papers ( goods with numbers and price descriptions) and refused from this idea to use related tables. I always founded some strange behaviour, similar to described by you , when did new record , just without allownew. One columns for related table has shown for second or so wrong reference. For long time after it I used other technic, I did find in Pinter letters .
I use query joining related tables for key from the main table, and make it not read only by -use dbf('query') again in 0
, makes my own updates back and show this query ( or queries ) in these grids. This works for me perfect in 50-60 forms of different tasks.
Vladimir
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform