Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with child grid while inserting record
Message
 
 
To
13/05/2000 12:33:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00368581
Message ID:
00369376
Views:
15
>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."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform