Left expression

dskunkel

New Member
Joined
Aug 24, 2006
Messages
7
I have a query I want to return a value from a variable in a column.
I have 80910 in the column and I want a new value which is made of the first three numbers in the string.

I have coded into the Field - SCF:Left([VARIABLE],3) and when I attempt to view the query I receive an error message
"Undefined function 'Left' in expression"

What am I doing wrong?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
You are not doing anything wrong. Check that you have a reference to Microsoft DAO 3.6 Library set
 
Upvote 0
I don't think you are doing anything wrong.:)

But I do think there could be something wrong with your database.

If you goto the VBA Editor (Alt+F11), then Tools>References... is there anything marked as MISSING?

You might also want to compact and repair the database.
 
Upvote 0
Left Expression

I have:
MISSING: Microsoft DAO 2.5/3.5 Compatible Library
checked and
DAO 3.6 Object Library unmarked
 
Upvote 0
Well uncheck the first reference and check the other one.
 
Upvote 0

Forum statistics

Threads
1,214,788
Messages
6,121,577
Members
449,039
Latest member
Arbind kumar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top