Hi!
Instead of SetFldState() make a field in thee alias that will hold .T. when this is a newly added record. THis way you will see what is really changed and what is just added, and check that field instead of GetFldState() or whatever.
I have no other ideas - it seems just not solvable without major changes.
>We just purchased VFP 7.0 and have the same problem with setfldstate described in this thread.
>
>It sounds as if your suggestion was to come up with another approach to checking for unsaved changes. That is simply not an option for us. Our application is already out the door and this would mean a major framework change. Any other ideas.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.