Hi, i'm working on a database that transfers data from Access to Quickbooks.
here's the problem, instead of having one long field for Company name, another long field for Address (not including City, State and ZIP) they have Company name field 41 chars long and 6 address fields 41 chars long.
so what they usually do in QB if the company is longer than 41 chars - type the company name in the address box. in QB, the address box looks like one big box (see attachment). so they can type up to 6 lines (41 chars each), so a company can take 3 lines and the address another 3, or a company can take 1 line and an address 2 lines. In the background tables there're 6 address fields 41 chars each. i hope i'm not confusing everyone.
so i have multiple problems. first of all, how to split up company names and addresses at the very least by a space, so the words don't get cut off.
and second, how do i know which line to start the address on for every customer? i have an idea on what has to be done, just don't know how to do it.
thank you
here's the problem, instead of having one long field for Company name, another long field for Address (not including City, State and ZIP) they have Company name field 41 chars long and 6 address fields 41 chars long.
so what they usually do in QB if the company is longer than 41 chars - type the company name in the address box. in QB, the address box looks like one big box (see attachment). so they can type up to 6 lines (41 chars each), so a company can take 3 lines and the address another 3, or a company can take 1 line and an address 2 lines. In the background tables there're 6 address fields 41 chars each. i hope i'm not confusing everyone.
so i have multiple problems. first of all, how to split up company names and addresses at the very least by a space, so the words don't get cut off.
and second, how do i know which line to start the address on for every customer? i have an idea on what has to be done, just don't know how to do it.
thank you