>>Can anyone tell me what I'm doing wrong? I haven't had this happen to me since I started using VFP but this is driving me crazy!
>
>John,
>
>Sounds like the table fro your grid is filtered and your new child record doesn't meet the filter condition.
Jim
I wish the problem was that simple. I know for sure there is no filter in use. I checked eveything out but it just doesn't make any sense.
This strange behavior is not just within my program but in the project manager. I'll give you an example:
Let's say there is no records in the table. None. Now, I start the program from PM and open the form and add a child record in the grid. I know its there since I'm editing directly from the grid. I skip to another record and come back to this record and I can still see it. Now I close the form and exit the program with cleanup code that includes closing opened database. I go to the PM and browse the child table. The status bar tells me there is one record (the record I just added) but doesn't show the record in the browse window! If I reindex it it tell me 1 record indexed. It I pack it, now there is no records in the table! What's going on???
In addition, if following the above example I entered two child records and skip to next parent record and come back, it only shows one of the child record not two. In addition to this strange problem, now I can't edit the one of two fields in the browse at all. It is a currency field but when I enter something like $1000.00 and hit Enter, it goes back to 0.00. I check to see if it was set to read-only but it is not!
This is fourth "real" application I've written in VFP and I didn't have any problems like this in previous projects which were similar but much more complex. I'm totally baffled.
It's "my" world. You're just living in it.