Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View Gone Buggy
Message
From
02/09/1998 19:30:05
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00132060
Message ID:
00132603
Views:
15
>But if I do lnKey = getkey('locations'), I get "getkey.prg" doesn't exist. How do you tell it you want to use a stored procedure?
>

Michelle, you can specify a default value for a view field just like in a table field. If you maintain you views through the view designer, click on the properties button, and you will get a dialog similar to that of the table designer, where you can set all the field properties for views. If you maintain your views in code, just issue:

DBSetProp('myview.keyfield', 'Field', 'DefaultValue', "getid()")
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform