Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL ACCESS error 1

Status
Not open for further replies.

geon12x

MIS
May 9, 2008
1
0
0
IS
here is a very simple query I made

CREATE VIEW ML_CUST AS
SELECT CUSTOMER.FirstName,
CUSTOMER.LastName,
CUSTOMER.Phone
FROM CUSTOMER
WHERE CUSTOMER.State ='ML' ;


and I can't even do it right.

error in view when I run it...
 
JetSQL don't deal with views.
A workaround is to create a select query named ML_CUST and then use it like a view.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
You can create "views" in Access. They end up as "Queries", but same thing, just different name.

Try this:

CREATE VIEW ML_CUST (FirstName, LastName, Phone)
AS SELECT CUSTOMER.FirstName,
CUSTOMER.LastName,
CUSTOMER.Phone
FROM CUSTOMER
WHERE CUSTOMER.State ="ML" ;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top