Main Board > Language

database.pvc

(1/1)

Peter.Higgins:
Found something this morning.
Using a delimited file structure I get column width=0 for all key fields from the IDXINFO object returned from database.pvc method GetIndexInfo().
In the executed LOAD_INDICES procedure of database.pvc, the properties are loaded by the line
READ DATA FROM X$,SEP=":" TO KN,SN,COLUMNATTR$,COLUMNWIDTH,COLUMNOFFSET
x$ is a lightly modified Keydefinition$ from dde_fh. 
Both have contents of "1:1:AC"

If columnwidth is 0 after this statement then should not a columnwidth = num(length$,err=...) be added so a separate routine to poll COLINFO object to get field length is not required?

Navigation

[0] Message Index

Go to full version