Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Auto Numbering Problem
Message
 
To
29/05/1997 08:44:26
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00034001
Message ID:
00034032
Views:
37
>Vfp50 - Auto Numbering Problem
>
>This is my code:
>
>use myview
>= cursorsetprop("buffering",3)
>append blank
>
>inoldarea = select()
>set reprocess to automatic
>if !used("new_num")
> use new_num in 0
>endif
>select new_num
>if rlock()
> repl auto_num with auto_num + 1
> unlock
>endif
>select(inoldarea)
>
>Now - when I go to save the information back to the TABLE from the VIEW, I am getting an ERROR MESSAGE saying…PROPERTY IS INVALID FOR TABLE CURSORS..
>It seems like my VIEW is not the current ControlSource. Can someone help?

why not make the auto_num part of the code a stored procedure and call it from the table field definition?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform