Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DefaultValue
Message
From
17/01/2001 12:04:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
DefaultValue
Miscellaneous
Thread ID:
00464751
Message ID:
00464751
Views:
64
My program fails when I try to add a new record.
The error # is 11
Message: Function argument value, type, or count is invalid
LINE: 99
Code: lcDefaultValue = DBGETPROP(lcBaseTable+”.”+lcPrimaryKey,”Field”, ”DefaultValue”)
Method: onnew
Object: contform1.pgfbizobj.page1.contobj

The program has the correct info as far as lcBaseTable and lcPrimaryKey variables are concerned, but it cannot find the DefaultValue. In the table itself the DefaultValue is newid(). If one append a blank to the table itself the newid() function works fine and offers the next unique id. But the view knows nothing about newid(). Is there a line I can add to the views.prg that will give this information to the view?
Thanks in advance Allan.
Next
Reply
Map
View

Click here to load this message in the networking platform