Subject RE: [IBO] Re: IB_Query - wrong ID assigned
Author Jason Wharton
I'm with Lester in thinking the problem has to do with making the field
ReadOnly and then expecting the GeneratorLinks work properly with it.

Try setting the NOINSERT and NOEDIT column attribute instead of the ReadOnly
property.

Jason Wharton
www.ibobjects.com


> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]On
> Behalf Of malyv2
> Sent: Monday, May 23, 2005 6:00 AM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] Re: IB_Query - wrong ID assigned
>
>
> >
> > A bug somewhere in your application. :-))
> > Check your code and your timings to make sure you are not
> > accidentally performing two inserts when you only want one.
> > ...
> > Don't place blanks at each side of the "=" symbol in ANY of IBO's
> > stringlist properties.
> >
> > Helen
>
> Yes, I had spaces in this stringlist. I removed them, but it still
> doesn't work. I use NO code for that, only IB_UpdateBar.
> 1. push insert row, fill anything, I see assigned ID_VYKON in grey
> field e.g.40.
> 2. push post changes, I still see 40
> 3. push refresh all records, I see 41
> If I don't use FieldsReadOnly.Add('ID_VYKON=True') it works! So I
> realy don't know, where in my application is the bug :-)
>
> Vlado