Discussion Locked

Access 97 ODBC mapping issues

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I run an ERP package using Progress. The latest upgrade has changed some fields to be a thousand character in length. The problem I have is Access 97 maps them to MEMO fields and not TEXT fields. Now my forms go belly up. I am running 3.5 Jet engineand latest ODBC drivers from Progress. Any Ideas?

5 replies

by dan_cohen

I would first change the memo fields in Access 97 to text fields 255 characters in length. You risk truncating some data so you should back up the database before attempting this. If your forms work after this test, then your problem probably lieswith the queries that are the recordsource for the forms.

Change the text fields back to memo, and check the query for one of the forms that don't work. If you see any of the fields in the query have an asterisk in them (meaning to display all fields), remove that field and replace with all the fields from the table the query queries from. Access has problems if you group by or try to sort when using the asterisk shortcut in queries with memo fields.

by donq

Things are doing just what they must - the Microsoft text field is limited to a maximum of 256 characters.

Your ONLY options using Access 97 are: One, truncate incoming data before your export to 255 characters; two, truncate and convert (via code) the memo field to text after import; three, use a different product; or four, change your form field data types to "memo" which would accept text and/or memo data. Memo fields go to 65,000 characters and you can NOT sort on a memo field.

I hope you're not stuck and one of these options will help. Don Quigg

ps: don't eat 2 much turkey tomorrow

by mlchriss

We got around the problem by using a passthrough query to a tempory table. Basically, we went around the ODBC table link and now select just the fields necessary, thus avoiding the text to memo ODBC problem.

This discussion is closed to new replies.