Is this SQL query right?

just2cool

Registered User.
Local time
Today, 08:57
Joined
Jun 20, 2007
Messages
16
I tried to put this in the query SQL but it doesn't seem to work. Any idea why?

Thanks!!

SELECT FTLookup.TransportationMode
FROM FTLookup WHERE FTLookup.Linehaul# = 'Legs.[1st Linehaul #]'
 
I would'nt use the # symbol as part of a column name, as it is infact a date delimeter. Nor would I start a column name with a number, nor would it contain spaces.

These are basic naming conventions that have evolved over the years.
 
You really shouldn't use # as part of your field name. # is used by Access as a date delimiter.

In fact you shouldn't use any punctuation or spaces in object names. It will, sooner or later, cause problems.
 

Users who are viewing this thread

Back
Top Bottom