Frank,

I think that you'll find that "order" is a reserved word in SQL (eg. ORDER
BY) and therefore should not be used as a database, table or column name.

Regards

Stephen
----- Original Message -----
From: "Frank Mamone" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 2:07 PM
Subject: SQL in Access Help


> Doing special project with Access. I got a syntax error - missing
operator - with this SQL statement. Can you see the error?
>
> SELECT DataSheet.*, Order.order, Lorder.Order
> FROM DataSheet INNER JOIN [Order] ON DataSheet.Group = Order.Group
> INNER JOIN [LOrder] ON Datasheet.Label = LOrder.Label
> WHERE Datasheet.Account = 'Vitamin Shoppe S001'
> ORDER BY Order.order,Lorder.order;
>
>
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to