>>When I am adding a record and before the user saves, I add a
>>auto number right before I sendupdates(). After I sendupdates(),
>>it seems like I am not pointing to my view, because I am getting a error message saying...
>> PROPERTY IS INVALID FOR TABLE CURSORS. What can i do?
>
>Are you specifying the workarea in your CURSORSETPROP() command to "SendUpdates"?
>
>-Doug-
Hi Doug: here is my code...
=cursorsetprop("keyfieldlist",'qc_key')
=cursorsetprop("sendupdates",.t.)
=cursorsetprop('UpdatableFieldList','qc_key,etc...
Does this help? When I get the AutoNumber, it seems like I loose my ControlSource. This is what I use to have and it works
1. get AutoNumber
2. open view and append blank to add
3. save
that works, but I changed it to
1. open view and append blank to add
2. get AutoNumber
3. save
I made this change so if the user SAVED , then I would get the AutoNumber.
this way there would not be any skips in the AutoNumber.
thanks..rob