>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
Assuming that your are placing the relational key values in the fields after the append blank, you might want
to go to the parent table a issue a "GO RECNO()" to re-position the pointer in the child table. Barabra is
right that this code should move to the INIT rather than the LOAD event. Also realize you can set the child
table to have Table Buffering rather than Row Buffering in the Data Environment properties.
Frederick Kusin
NetBase Development Group
3746 Folsom Street
San Francisco, CA. 94110
www.netbasegroup.com