Subject | |
---|---|
Author | kristinnolan@hotmail.com |
Post date | 2001-07-09T17:21:21Z |
I have a domain named DBoolean which is set up as Text(5) for a Field
named UserEdit.
I am using the following code to set UserEdit to True when a record
is added so that the users can only edit the record they themselves
have entered.
Query.FieldByName('USEREDIT').AsBoolean := TRUE;
When I try to add a record I receive an exception class
EIB_StatementError with message Fieldname USEREDIT not found.
Process stopped. Use step or run to continue.
I have tried different variations of this line of code but cannot
seem to get it right. What is wrong with this syntax?
Kristy
named UserEdit.
I am using the following code to set UserEdit to True when a record
is added so that the users can only edit the record they themselves
have entered.
Query.FieldByName('USEREDIT').AsBoolean := TRUE;
When I try to add a record I receive an exception class
EIB_StatementError with message Fieldname USEREDIT not found.
Process stopped. Use step or run to continue.
I have tried different variations of this line of code but cannot
seem to get it right. What is wrong with this syntax?
Kristy