Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using trigger to generate unique ID
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00019635
Message ID:
00019686
Views:
34
>can this be done? i'm trying to generate a unique id with the insert record trigger, and am told i can't update the cursor because it's read only...

A better place would be in the Fields Tab/Field Validation/Default Value. Cursors are read-only -- Views are updateable.

HTH,
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Reply
Map
View

Click here to load this message in the networking platform