Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - loose my view?
Message
From
28/05/1997 08:18:21
 
 
To
27/05/1997 16:33:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00033713
Message ID:
00033800
Views:
38
>>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
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform