Subject | Re: [IBO] Re: Preparing a TIB_Query throws a 'COL is a required field" error |
---|---|
Author | Woody |
Post date | 2009-11-06T17:35:11Z |
From: "tickerboo2002" <egroup@...>
state of the query to see if it's already in one of the edit modes before
calling insert or prepare. If it is, you can perform some additional testing
to see which mode and why. It might help you track down the problem at that
customers site.
$0.02
Woody (TMW)
>> Apparently it is already in insert mode.IMHO, the most effective way to find out what's happening is to test the
>
> ...so it's trying to post the previous record?
>
>
> My simplified code for inserting a new record looks like this:
>
> try
> {
> qryAddCall->Prepare();
> qryAddCall->Insert(); <------- 'required field' error
state of the query to see if it's already in one of the edit modes before
calling insert or prepare. If it is, you can perform some additional testing
to see which mode and why. It might help you track down the problem at that
customers site.
$0.02
Woody (TMW)