Hello,
When appending a record in a table, that has a default value for a field, the GETFLDSTATE(-1) function returns the number "4" for the fields that have been changed by the default value function.
I used SETFLDSTATE(lnFieldNumber, 3) in order to set the field state to 3 (appended, not changed). This worked in VFP 6, but not anymore in VFP 7.
Note that this does not work only if the field is changed by the default value of the table (it must be a database table).
Is this a bug in VFP 7, or is this a change to the function? Is there a workaround?
The reason I need this function to work is, that I do not want any changes to be detected by a simple append.
Thanks for your help in advance.
Christian Isberner
Software Consultant