Page 1 of 1

Fields

Posted: Tue Jul 30, 2024 3:34 pm
by omni
Roger, Cannot find it.
What is the field size synax?

I have fieldname, and fieldtype, cannot find my notes on the size of the field. I am trying to create one file from another, but change all the fields to characters of the same len...complicated...for one of our customers.
I think at one time I found an example where you did something like this, maybe for excel. Not sure.


Fred
Omni

Re: Fields

Posted: Tue Jul 30, 2024 10:52 pm
by SlavkoDam
FieldName( nFieldPos ) // field name
FieldInfo( nFieldPos, FLD_TYPE ) // data type
FieldInfo( nFieldPos, FLD_LEN ) // field length
FieldInfo( nFieldPos, FLD_DEC ) // decimal places