Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Views defined programmatically and default value
Message
From
30/11/1998 06:42:14
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
 
 
To
30/11/1998 06:08:23
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00162348
Message ID:
00162352
Views:
19
I resolved the probelm. I created two variables :
Def_Val1 = "MyView"
Def_Val2 = "NewId('" + Def_Val1 + "')"
Then issued :
= DBSETPROP("MyView.Primarykey", "Field", "DefaultValue", Def_Val2)

Everything works fine now but I tought that there it was simpler.

Christian Cote
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform