Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Question on TDBISAMFieldDefs.Insert Method
Tue, May 20 2008 4:44 AMPermanent Link

Pat
Hi all,

In the v4 manual on TDBISAMFieldDefs.Insert Method the InsertPos and
the FieldNo are different.

How and where would you use this difference?

Regards,
Pat
Tue, May 20 2008 11:19 AMPermanent Link

Fernando Dias

Team Elevate Team Elevate

Pat,

FieldNo is the position of the field in the table (1-based) and
InsertPos will be the position of the field definition in the list of
field definitions (0-based).
You can find more information in the manual, here:
http://www.elevatesoft.com/manual?action=mantopic&id=dbisam4&product=b&version=2006&category=1&topic=15

--
Fernando Dias
[Team Elevate]
Tue, May 20 2008 7:36 PMPermanent Link

Pat
>FieldNo is the position of the field in the table (1-based) and
>InsertPos will be the position of the field definition in the list of
>field definitions (0-based).
>You can find more information in the manual, here:
>http://www.elevatesoft.com/manual?action=mantopic&id=dbisam4&product=b&version=2006&category=1&topic=15

OK, what I didn't see was the manual's 'Field Number' is the code's
'FieldNo' and the manual's 'Index Position' is the code's 'InsertPos'.

As soon as I saw 'Index' I assumed that talked about the table's
index.

Thanks.
Image