Subject Re: [IBO] (unknown)
Author Jason Wharton
The syntax is fine, there just isn't a column named by that name to be
found.
Please reveal more details including the SQL for the query so we can help
more if possible.

Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com


----- Original Message -----
From: <kristinnolan@...>
To: <IBObjects@yahoogroups.com>
Sent: Monday, July 09, 2001 10:21 AM
Subject: [IBO] (unknown)


> 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