Subject Re: [IBO] Re: Preparing a TIB_Query throws a 'COL is a required field" error
Author Woody
From: "tickerboo2002" <egroup@...>
>> Apparently it is already in insert mode.
>
> ...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

IMHO, the most effective way to find out what's happening is to test the
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)