Hi Jason,
How's it going tonight?
1) Are you SURE your record pointer is on the new record?
2) If you answered "YES" to (1), then did you issue a form refresh after adding the new record?
3) If both the above are "YES" are you switching pages of a pageframe? If so, you need to add 'this.refresh' to the Activate code for each pageframe. VFP only refreshes the active page with a Thisform.Refresh() command.
HTH
Barbara
>Hi
>
>I am having some problems with a child form. When I go to add a second record, as soon as I place my cursor into a textbox to type a value, FoxPro places the value I typed in the first record into the the textbox. Everything seems to be working perfect between my parent and child except for this problem. I believe I am missing code, but I don't have a clue what I am missing.
>
>Is this a refresh problem? A new autonumber is being generated that reflects I am on a second record and ready to except data.
>
>Do I need to refresh the 2 textboxes that I am placing data into? If so, what would the code look like and where would I place it?... in the init() of the txtbox?
>
>If it isn't a refresh problem (which I can't understand why it would be a refresh problem. I am simply clicking an add button to add a new record), does anyone have any ideas as to why this is occuring?
>
>TIA for any help
>
>Struggling mightily
>
>Jason