Hi guys, I'm trying to maintain some old access queries. The problem is
a) simply to append fields together from tables
b) string into Fixed postition formats
For example, on the result field "End user Name" must be 35chars in length.
The person who wrote the original created a table simply with a field called "blanks" which contains a text string of 80 blank spaces, and used Mid, &, Len functions to calculate the number of blank spaces needed on the end to make up 35 characters. I'm trying to do the same but no success.
The logic is: Calculate length of number of characters in "End User Name"; take this value and subtract 35, append THIS number of blanks to "End User Name"( so total adds up to 35 character length and is appended into final string with other fields using same logic. For example "end user name" 35chars + "end user address" 35 chars etc).
Can anyone suggest a solution? Many thanks!!
a) simply to append fields together from tables
b) string into Fixed postition formats
For example, on the result field "End user Name" must be 35chars in length.
The person who wrote the original created a table simply with a field called "blanks" which contains a text string of 80 blank spaces, and used Mid, &, Len functions to calculate the number of blank spaces needed on the end to make up 35 characters. I'm trying to do the same but no success.
The logic is: Calculate length of number of characters in "End User Name"; take this value and subtract 35, append THIS number of blanks to "End User Name"( so total adds up to 35 character length and is appended into final string with other fields using same logic. For example "end user name" 35chars + "end user address" 35 chars etc).
Can anyone suggest a solution? Many thanks!!