General information
Category:
Coding, syntax & commands
Hi,
I am using the DbGetProp function to return the default value of a particular field. I assign an alias name to the table and when I try to reference the field with the alias name, the dbgetprop funtion returns a 'Function arguement value, type, or count is invalid' error. However, if I use the actual table name when referencing the field, it works fine.
Use (Path+"Client") in 0 Alias DataFile
Select DataFile
DefVal=DbGetProp("DataFile.Sex","Field","DefaultValue")
&& Returns error
DefVal=DbGetProp("Client.Sex","Field","DefaultValue")
&& Returns the default value for the sex field.
I need to use the alias name when referencing the field. Any suggestions????
Thanks alot,
Jolene Dicks
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only