Bennie47250
Programmer
Using Access 2003.
Working on a project to submit Level 3 Credit Card information in a batch mode. The Credit Card processor file requirements require us to submit one text string for each order number.
The first part of the text string file contains the Billing Information (credit card number, expiration date, street address, ….) The 2nd part of the text string will include the Order Details of what was on the order, (part number, description, quantity, unit of measure)
So the file we submit will look something like
4444555566667777,1010,845 North Main St.|FJ696,Adapter,5,ea|
This example they only ordered one item. If they order multiple items, the text string is to be formatted like this:
4444555566667777,1010,845 North Main St.|FJ123,Hose,5,ea||FJ456,Hose,3,ea||FJ789,Hose,4,ea|
Put another way the string is like this:
Billing Information | order details || order details || order details || order details|
Here is what I need assistance with, I’m collecting the order detail information and writing it to a table that looks like this:
Order # Part# Description Qty UnitofMeasure
123 FJ123 Hose 5 ea
123 FJ456 Hose 2 ea
123 FJ789 Hose 3 ea
567 FJ123 Hose 5 ea
963 FJ123 Hose 5 ea
963 FJ456 Hose 5 ea
741 FJ123 Hose 5 ea
By order number, I need to concatenate the order details. So after the concatenation, the above would look like this:
Order # Order Details
123 |FJ123,Hose,5,ea||FJ456,Hose,2,ea||FJ789,Hose,3,ea|
567 |FJ123,Hose5,ea|
963 |FJ123,Hose,5,ea||FJ456,Hose,5,ea|
741 |FJ123,Hose,5,ea|
As I see it right now, I will have 2 tables, one table that contains the Billing Information and the other table will contain the Order Details and I will join them using the order number.
Thanks for your suggestions!
Working on a project to submit Level 3 Credit Card information in a batch mode. The Credit Card processor file requirements require us to submit one text string for each order number.
The first part of the text string file contains the Billing Information (credit card number, expiration date, street address, ….) The 2nd part of the text string will include the Order Details of what was on the order, (part number, description, quantity, unit of measure)
So the file we submit will look something like
4444555566667777,1010,845 North Main St.|FJ696,Adapter,5,ea|
This example they only ordered one item. If they order multiple items, the text string is to be formatted like this:
4444555566667777,1010,845 North Main St.|FJ123,Hose,5,ea||FJ456,Hose,3,ea||FJ789,Hose,4,ea|
Put another way the string is like this:
Billing Information | order details || order details || order details || order details|
Here is what I need assistance with, I’m collecting the order detail information and writing it to a table that looks like this:
Order # Part# Description Qty UnitofMeasure
123 FJ123 Hose 5 ea
123 FJ456 Hose 2 ea
123 FJ789 Hose 3 ea
567 FJ123 Hose 5 ea
963 FJ123 Hose 5 ea
963 FJ456 Hose 5 ea
741 FJ123 Hose 5 ea
By order number, I need to concatenate the order details. So after the concatenation, the above would look like this:
Order # Order Details
123 |FJ123,Hose,5,ea||FJ456,Hose,2,ea||FJ789,Hose,3,ea|
567 |FJ123,Hose5,ea|
963 |FJ123,Hose,5,ea||FJ456,Hose,5,ea|
741 |FJ123,Hose,5,ea|
As I see it right now, I will have 2 tables, one table that contains the Billing Information and the other table will contain the Order Details and I will join them using the order number.
Thanks for your suggestions!