>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
A wild wild shot in the dark, here.
This sounds like the behavior you might expect if SET CARRY ON. (Each record added gets the data copied from the last record added.)
Check it out?
- Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing