This is a relationship problem.
I have a main table called tblChargeBack
I have a dictionary table called tblCBCodes
I have another dictionary table called tblCardType
TblChargeBack has about 15 fields but I am only concerned with 2 of them.
I made a qryChargeBack
The qryChargeBack is identical to tblChargeback except I have added two fields.
One field is based of the first digit from an original field. The original field is CBRSN.
So what I have in the query for the new field is “CardType: Left([CBRSN],1)”
There is another field that is based of an original field.
This time it is based off MerchantID which is an 11 digit number. I need the 4,5,and 6 digits so I have “CBID: Mid([MerchantID],4,3)”.
In the query this works fine.
The problem:
I am trying to make another query that will give me the definitions of the CBID and CardType.
When I set the relationship I can not make a one to many including the qryChargeBack. Is there a way to make the relationship or do I need to make the main table have a field for the desired fields and get rid of the query all together.
If this is the case how do I use the left and mid functions in a table?
I have a main table called tblChargeBack
I have a dictionary table called tblCBCodes
I have another dictionary table called tblCardType
TblChargeBack has about 15 fields but I am only concerned with 2 of them.
I made a qryChargeBack
The qryChargeBack is identical to tblChargeback except I have added two fields.
One field is based of the first digit from an original field. The original field is CBRSN.
So what I have in the query for the new field is “CardType: Left([CBRSN],1)”
There is another field that is based of an original field.
This time it is based off MerchantID which is an 11 digit number. I need the 4,5,and 6 digits so I have “CBID: Mid([MerchantID],4,3)”.
In the query this works fine.
The problem:
I am trying to make another query that will give me the definitions of the CBID and CardType.
When I set the relationship I can not make a one to many including the qryChargeBack. Is there a way to make the relationship or do I need to make the main table have a field for the desired fields and get rid of the query all together.
If this is the case how do I use the left and mid functions in a table?