sbalfourbrown
New Member
- Joined
- Aug 12, 2015
- Messages
- 1
Hi,
I have a database which holds 2 tables (Pulled from seperate sourses). The first holds details of customers signed up to monthly bills (MB) and the other custmers who are registered on our website (OAM).
Both tables have a uniqueue customer number field and I am looking to identify which customers in my monthly bill table also hold an online account.
The method I'm trying to use is by creating an online registered column in the monthly bill table then run an update query to update this to "yes" if the Unique customer number is held in the oam table. This is what my query looks like
Update Query
Field: OAM Present
Table: MB
Update to: Yes
Criteria: [MB].[UCRN]=[OAM].[UCRN]
It looks right to me but when I run it I'm getting 0 results which is not possible as to be on MB customers should be on OAM.
Any help greatly appreciated
I have a database which holds 2 tables (Pulled from seperate sourses). The first holds details of customers signed up to monthly bills (MB) and the other custmers who are registered on our website (OAM).
Both tables have a uniqueue customer number field and I am looking to identify which customers in my monthly bill table also hold an online account.
The method I'm trying to use is by creating an online registered column in the monthly bill table then run an update query to update this to "yes" if the Unique customer number is held in the oam table. This is what my query looks like
Update Query
Field: OAM Present
Table: MB
Update to: Yes
Criteria: [MB].[UCRN]=[OAM].[UCRN]
It looks right to me but when I run it I'm getting 0 results which is not possible as to be on MB customers should be on OAM.
Any help greatly appreciated