Subject | Re: [IBO] BDE To IBO |
---|---|
Author | Jason Wharton |
Post date | 2002-01-15T16:55:11Z |
This should work assuming all else in your database is matching.
Perhaps it could be a case sensitivity issue?
I don't know.
What version of IBO are you tinkering with?
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
Perhaps it could be a case sensitivity issue?
I don't know.
What version of IBO are you tinkering with?
Jason Wharton
CPS - Mesa AZ
http://www.ibobjects.com
----- Original Message -----
From: "Duilio Foschi" <dedalus@...>
To: <IBObjects@yahoogroups.com>
Sent: Tuesday, January 15, 2002 9:27 AM
Subject: [IBO] BDE To IBO
> I need to port an application to C/S and I am experimenting with FB and
IBO.
>
> I am using D3 and FB v. 1.
>
> It is not clear to me how I should change the following lines that I have
> in large number in the old version:
>
> with CurTab do {CurTab was a TTable, soon to be a TIBOTable}
> begin
> IndexName:='des_art'; {1}
> SetRangeStart;
> FieldByName('des_art').AsString:=FndEdi.Text;
> SetRangeEnd;
> FieldByName('des_art').AsString:='zzz';
> ApplyRange;
> end;
>
> If I comment out line {1}, ev will compile, but then I get the error
> message: "des_art" is not indexed and cannot be modified".
>
> Actually des_art is not the primary key, but I have build an index on it.
>
> Any help ?
>
> Please note that I'd like to retain - at first - the SetRange...ApplyRange
> formula because changing to TIBOQuerys would take a long time.
>
> Thank you
>
> Duilio Foschi