I have a report which creates a text file for import into a financial system (not in Access) using the OutputTo command. The import procedure requires that each line be no longer than 70 characters. The field being imported is 1000 characters, so I have created a query which uses the Mid function to load 70 characters (consecutively) into separate fields.
This works fine, however the import function in the financial package does not put the fields back together as one long string, and some words are cut in half.
Does anyone have any code which can split my memo field into separate fields (to a maximum of 70 characters) but cutting at the nearest space, rather than in the middle of words?
Any help would be HUGELY appreciated!
This works fine, however the import function in the financial package does not put the fields back together as one long string, and some words are cut in half.
Does anyone have any code which can split my memo field into separate fields (to a maximum of 70 characters) but cutting at the nearest space, rather than in the middle of words?
Any help would be HUGELY appreciated!