Advertisement

05.15.2008 at 04:41PM PDT, ID: 23407059
[x]
Attachment Details

Query Access Database for Customer record that Changed a condition

Asked by Futureman9 in Microsoft Access Database, MySQL Server

Tags: , ,

Hi Experts,
Have 2 databases:
C:\Access\billing\billing.mdb
C:\Access\prospects\prospects.mdb

A table exists in each database name "Customers"

If a customer is no longer active the status field is marked "Cancelled"  A button on the Prospects.mdb database lets me append all records that are marked "Cancelled" to the Prospects.mdb Customers table.

Please help me write a query that will let me Select all customer table records from the billing database that has the same Lastname, Firstname, Address of records in the Customer table of the Prospect database AND where the Billing Database has the Customer.status field now marked ACTIVE.

Customers who leave sometimes return and they should not be contacted by salespeople.

Thank you.
Alex

Attached is the beginning of the query I started.Start Free Trial
1:
2:
3:
"SELECT Customer.Last, Customer.First, Customer.Billaddress, Customer.Phone, Customer.Billstatus
FROM Customer IN 'c:\access\billing\billing.mdb'
WHERE last = customer.last AND Billstatus = 'Active'"
[+][-]05.15.2008 at 11:31PM PDT, ID: 21580414

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Access Database, MySQL Server
Tags: Microsoft, Access, 2007
Sign Up Now!
Solution Provided By: peter57r
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.16.2008 at 09:32AM PDT, ID: 21584197

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628