Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append recs goes overlaped
Message
From
17/01/2002 19:06:52
 
 
To
17/01/2002 18:27:25
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Romania
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00606423
Message ID:
00606489
Views:
32
>>It's a little difficult to tell without comments and knowing what the properties are, but if the overlapping is happening in the child table, I check out what's happening with the line:
>>
>
>delete for empty(&llink)
>
>
>this delete all recs wich gets somehow the key empty wich does not relate to parent
>
>the overlaping are happening in parent table
>
>ldatamaster - is alias of parent table
>ldataslave - alias of child table
>llink - field name common to two tables, key and foreign

Ok, then the next thing I'd check is to make sure the following lines are not causing the record pointer on the parent to move:
Thisform.refreshform()
Thisform.pageframe1.page1.gridslave.SetFocus()
Thisform.pageframe1.page1.gridslave.ActivateCellThisform.pageframe1.page1.gridslave.ActiveRow,1)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform