- Code: Select all Expand view RUN
nFlds := ::oDbf:Fcount( )
aNames := Array( nFlds )
aTypes := Array( nFlds )
aFields( aNames, aTypes )
aFields would fill the array with the names of each field, and aTypes with the data type for that same field. Now it simply inserting 3 items into the aNames array ( labels ), and nothing else, although the database has 12 actual fields. What is inserted has no bearing to the actual fields.
As I said, it was never a problem until the latest FWH libs. I'm open to a better way if anyone has a suggestion. NOTE: I am using a database object in this class.
Tim