Hi there, I am new new new to this site.
Been searching the web for days now on how to solve my dlookup issue. I know, just know there must be a way but I can't find it.
Here's my issue.
I have a table called BANK ACCOUNT
this table contains three fields
DATE AMOUNT DESCRIPTION
Because the description looks something like the following :
GOOGLE*ADWS82287718 485442*8690 05 MAY
PNP FRAN EDENGLEN 485442*8690 09 MAY
SMART-AP PREPAID AIRTIME 0712344171
I have appended the descriptions to another table called TRANSACTION ALIASES, that has two fields:
TRANSDESCRIPTION TRANSACTION ALIAS
where I have assigned alias names, for example :
TRANSDESCRIPTION TRANSACTION ALIAS
GOOGLE*ADWS82287718 485442*8690 05 MAY - GOOGLE
PNP FRAN EDENGLEN 485442*8690 09 MAY - PICK N PAY
SMART-AP PREPAID AIRTIME 0712344171 - VODACOM PREPAID
I then have a query, where I want to match the alias to the description:
So my query has two fields :
DESCRIPTION (which comes from [BANK ACCOUNT].[DESCRIPTION]); and
ALIAS which has the following criteria :
ALIAS: DLookUp("[TRANSACTION ALIAS]","TRANSACTION ALIASES","[TRANSDESCRIPTION]='" & [DESCRIPTION] & "'")
Now that works fine, unless I have two GOOGLE*ADWS82287718 485442*8690 descriptions and not on the same date so perhaps
GOOGLE*ADWS82287718 485442*8690 06 MAY
How would I get my criteria to match one or all or some of the words in the TRANSACTION ALIAS field IN THE TRANSACTION ALIASES TABLE to the word or words within the DESCRIPTION FIELD of [BANK ACCOUNT].[DESCRIPTION]
I have read up on Dlookp with Like criteria but nothing works for me.
Please can you assist, I'd be so very grateful.
Been searching the web for days now on how to solve my dlookup issue. I know, just know there must be a way but I can't find it.
Here's my issue.
I have a table called BANK ACCOUNT
this table contains three fields
DATE AMOUNT DESCRIPTION
Because the description looks something like the following :
GOOGLE*ADWS82287718 485442*8690 05 MAY
PNP FRAN EDENGLEN 485442*8690 09 MAY
SMART-AP PREPAID AIRTIME 0712344171
I have appended the descriptions to another table called TRANSACTION ALIASES, that has two fields:
TRANSDESCRIPTION TRANSACTION ALIAS
where I have assigned alias names, for example :
TRANSDESCRIPTION TRANSACTION ALIAS
GOOGLE*ADWS82287718 485442*8690 05 MAY - GOOGLE
PNP FRAN EDENGLEN 485442*8690 09 MAY - PICK N PAY
SMART-AP PREPAID AIRTIME 0712344171 - VODACOM PREPAID
I then have a query, where I want to match the alias to the description:
So my query has two fields :
DESCRIPTION (which comes from [BANK ACCOUNT].[DESCRIPTION]); and
ALIAS which has the following criteria :
ALIAS: DLookUp("[TRANSACTION ALIAS]","TRANSACTION ALIASES","[TRANSDESCRIPTION]='" & [DESCRIPTION] & "'")
Now that works fine, unless I have two GOOGLE*ADWS82287718 485442*8690 descriptions and not on the same date so perhaps
GOOGLE*ADWS82287718 485442*8690 06 MAY
How would I get my criteria to match one or all or some of the words in the TRANSACTION ALIAS field IN THE TRANSACTION ALIASES TABLE to the word or words within the DESCRIPTION FIELD of [BANK ACCOUNT].[DESCRIPTION]
I have read up on Dlookp with Like criteria but nothing works for me.
Please can you assist, I'd be so very grateful.