Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with child grid while inserting record
Message
 
À
13/05/2000 12:33:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00368581
Message ID:
00369376
Vues:
14
>Actually the jvno index tag has expression dtos(jvdate)+str(jvno) for both jvhdr and jvdtl files & the relation expression for grid also set to same.
> But this should not be a problem as there are half a dozen other forms with same indexing type (voucher numbers start daily from 1).
> Is there any other event which can be trigerred to refresh the relation in DE.

Actually, if you already have established the relationship in the DE, no need to set relations in the grid. But still, my suspicion is that somewhere in your code, you might broke the relationship by changing the order tag of the child. What we do is that we always make it a point that the order tag that establishes the relationship should be current.
Insert Into blah...blah

some codes here
some codes there

Select jvdtl
Set Order To jvno

Select jvhdr
Thisform.Refresh()
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform