I have a table that is being imported from Sybase that contains > 255 fields.
We only need a small subset of these fields, however, so the desired stored table is something Access can handle (~ 20 columns).
The connection setup is ODBC, and of course, an openrecordset command just gives the first 256 fields. When I do a SELECT on a fields not in the first 255, of course, there is an error.
Is there a way in VBA to select a suitable small subset of fields from a table with > 255 fields?
Or, might it be possible to read in the last column first? That way I can sweep the table from both ends to get what we want.
Oh, I know the first thought is: why not reduce the size of the table? Unfortunately, that is not an option due to business/management considerations.
Thank you,
John
We only need a small subset of these fields, however, so the desired stored table is something Access can handle (~ 20 columns).
The connection setup is ODBC, and of course, an openrecordset command just gives the first 256 fields. When I do a SELECT on a fields not in the first 255, of course, there is an error.
Is there a way in VBA to select a suitable small subset of fields from a table with > 255 fields?
Or, might it be possible to read in the last column first? That way I can sweep the table from both ends to get what we want.
Oh, I know the first thought is: why not reduce the size of the table? Unfortunately, that is not an option due to business/management considerations.
Thank you,
John
Comment