G
Guest
I have a query that looks at the invoice field of a table, and based on the
data in that field, for each transaction type "DI", changes the transaction
type to "Monthly Billing @@", @@ being a number from 01 to 99. The invoice
field will either contain a number sequence, from 001 on, or it will contain
a 6 character text string denoting the first billing invoice. If it contains
the text string I want to change the transaction type to "Monthly Billing
01". I already have the query working as far as the numeric invoice numbers,
it takes the two right-most numbers in the invoice number and appends
"Monthly Billing " to the front of it, adding 1 to the number because the
billing statement 001 is actually the second billing, etc. But when the
invoice number is text, I get something like "Monthly Billing XJ" or whatever
the last two characters of the invoice are. How do I get Access to see the
text and update the information accordingly?
data in that field, for each transaction type "DI", changes the transaction
type to "Monthly Billing @@", @@ being a number from 01 to 99. The invoice
field will either contain a number sequence, from 001 on, or it will contain
a 6 character text string denoting the first billing invoice. If it contains
the text string I want to change the transaction type to "Monthly Billing
01". I already have the query working as far as the numeric invoice numbers,
it takes the two right-most numbers in the invoice number and appends
"Monthly Billing " to the front of it, adding 1 to the number because the
billing statement 001 is actually the second billing, etc. But when the
invoice number is text, I get something like "Monthly Billing XJ" or whatever
the last two characters of the invoice are. How do I get Access to see the
text and update the information accordingly?