Page 1 of 1

How To Test Whether Field Name Exist

PostPosted: Sat Apr 13, 2013 9:47 am
by acwoo1
Hi

Example
How do I test whether the field name "amount" exist in the dbf "Inv".

Thanks

Regards
ACWoo
FWH1303+Harbour+bcc582

Re: How To Test Whether Field Name Exist

PostPosted: Sat Apr 13, 2013 10:10 am
by Antonio Linares
Try this:

FieldPos( "fieldname" ) != 0

Re: How To Test Whether Field Name Exist

PostPosted: Sun Apr 14, 2013 2:41 am
by acwoo1
Thanks Antonio

It works.

Regards
ACWoo