rkrause
09-29-2009, 07:33 AM
I am trying to use LEFT in a query. But im not getting it to work.
right now in my query i have:
LOT2: LEFT(orders.lot,2)
Any help would be great.
namliam
09-29-2009, 07:40 AM
LOT2: LEFT(orders.lot,2)
or
LOT2: LEFT(orders.lot;2)
Depending on your regional settings (comma could be a decimal sign, in which case you use the ; seperator)
If you have a table "Orders" that has a column "lot" it should work
gemma-the-husky
09-29-2009, 08:59 AM
if it is entered correctly, the query editor should put [] round each bit
so it should end up looking like
[orders].[lot]
boblarson
09-29-2009, 09:03 AM
And if lot is not in another table in the current query, you just need to use:
LOT2: LEFT([lot],2)