Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record pointer is moving in child table
Message
 
To
29/12/1997 17:33:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00068327
Message ID:
00068455
Views:
31
>In the dataenvironment of my form I have a Parent and a child table. On my form I want to be able enter information into both tables. In the load method of my form I set the buffering for both tables and I do an append blank for both tables. The problem I have is that when the form comes up somehow the record pointer in my child table is advancing 1 which automatically writes the buffered data to disk. If anyone has any suggestions I'd appreciate it because I'm starting to pull my hair out over this.
>
>Mark A. Struck

In the January 1998 issue of FoxPro Advisor, on page 74, is a tip of the month which warns about undocumented movement of the record pointer. It seems that if a cursor is row-buffered, moving the record pointer commists changes just as if TableUpdate() had been issued, but WITHOUT the benefit of the code that may have been written to handle a failed TableUpdate(). The article describes three scenarios. A must read.
Nebraska Dept of Revenue
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform