Hello Everyone,
I have a little problem with a query and was wondering if this could be done.
I have a field entitled Payment form.
In this field there can be 5 different things. 0 for Null, C for Card,
D for Cod, E for E-check, and W for Wbill.
I have another field entitled Sub Payment
Now sub payment is broken down into the different kinds of payments.
Now the problem that I am having is when I run my query the results yeild 5 different lines. I understand why it does this, but
I really need it to be broken into 5 different columns. so that everything goes to one line. I have an example below of what
It looks like after I run my query.
payment_form Sub Payment
0 35.00
C 35.00
D 35.00
E 35.00
W 35.00
I need it to look like this:
Null
35.00
next column
Card
35.00
and so forth
all on the same line
So I guess my question is. How can I create 5 different columns from one single column?
I was thinking that I might have to get more advanced and use some SQL on this, I could be wrong.
Any help would be appreciated.
Thanks,
Wren
I have a little problem with a query and was wondering if this could be done.
I have a field entitled Payment form.
In this field there can be 5 different things. 0 for Null, C for Card,
D for Cod, E for E-check, and W for Wbill.
I have another field entitled Sub Payment
Now sub payment is broken down into the different kinds of payments.
Now the problem that I am having is when I run my query the results yeild 5 different lines. I understand why it does this, but
I really need it to be broken into 5 different columns. so that everything goes to one line. I have an example below of what
It looks like after I run my query.
payment_form Sub Payment
0 35.00
C 35.00
D 35.00
E 35.00
W 35.00
I need it to look like this:
Null
35.00
next column
Card
35.00
and so forth
all on the same line
So I guess my question is. How can I create 5 different columns from one single column?
I was thinking that I might have to get more advanced and use some SQL on this, I could be wrong.
Any help would be appreciated.
Thanks,
Wren
Last edited: