R rkrause Registered User. Local time Today, 15:20 Joined Sep 7, 2007 Messages 343 Sep 29, 2009 #1 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.
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.
N namliam The Mailman - AWF VIP Local time Tomorrow, 00:20 Joined Aug 11, 2003 Messages 11,685 Sep 29, 2009 #2 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
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 Super Moderator Staff member Local time Today, 23:20 Joined Sep 12, 2006 Messages 16,072 Sep 29, 2009 #3 if it is entered correctly, the query editor should put [] round each bit so it should end up looking like [orders].[lot]
if it is entered correctly, the query editor should put [] round each bit so it should end up looking like [orders].[lot]
boblarson Smeghead Local time Today, 15:20 Joined Jan 12, 2001 Messages 32,040 Sep 29, 2009 #4 And if lot is not in another table in the current query, you just need to use: LOT2: LEFT([lot],2)