We help IT Professionals succeed at work.
Get Started

Update a table with a whereclause

320 Views
Last Modified: 2012-05-11
I want to update a table where sizeid is less or equal to 2

assuming that the sizes in TableA.SizeID (TEXT) are:
3/4, 1, 1-1/2; 2.

Something like:
Docmd RunSQL sSQL ="Update TableA set Field1 = 'LT' where TableA.TypeID = "MU" And TableA.SizeID <= 2"

I tried it and I resume an error at SizeID.
Comment
Watch Question
Owner, Dev-Soln LLC
CERTIFIED EXPERT
Most Valuable Expert 2014
Top Expert 2010
Commented:
This problem has been solved!
Unlock 1 Answer and 16 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE