We help IT Professionals succeed at work.
Get Started

Access - VBA Alter a field in table - settings error

Last Modified: 2016-02-10
I have VBA set to alter a field from an imported table from SharePoint. For some reason when I use the following code to modify the date type from Memo to Text


Open in new window

It produces the following error when I try to run a query against the table;
The setting your entered isn't valid for this property.

If I modify the data type manually I do not encounter the error. How can I adjust my code to make sure it works as if I am doing it manually?
Watch Question
Top Expert 2016
This problem has been solved!
Unlock 1 Answer and 10 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