china99boy
Registered User.
- Local time
- Today, 18:26
- Joined
- Apr 27, 2006
- Messages
- 161
Hi guys...I can't figure this out after trying for several hours.
I have table A with fields "date" "AgentID" and "Msg"
Table B with has several fields, which also includes "Msg" "date" "AgentID" among others.
I am trying to add the data from table A "Msg" to the matching record in table B and just replace "Msg" data. AgentID is the key field.
If a matching record is not found in table B based on AgentID and date then a new record should be added.
Any help will be greatly appreciated.
I have table A with fields "date" "AgentID" and "Msg"
Table B with has several fields, which also includes "Msg" "date" "AgentID" among others.
I am trying to add the data from table A "Msg" to the matching record in table B and just replace "Msg" data. AgentID is the key field.
If a matching record is not found in table B based on AgentID and date then a new record should be added.
Any help will be greatly appreciated.