sql - ODBC linked database with / in field name -


I am trying to add an ODBC database - on which I have no control - one in MS Access 2007 Machine Data Source - I do not know what is relevant, since then I mean that access is only set on this computer. -

When I follow the wizard, I get the table, but when it comes time to link it, I get the error message:

database engine 'WTD DATAPOINT_5 / 1000 'can not be found. Make sure that this is a valid parameter or surname name, it does not contain letters or punctuation, and that the name is not too long

I think the problem is that the field is < Code> WTD.DATAPOINT_5 / 1000 and that access is interpreted as its / .

This is the thing that I do not even need data stored in this column. I do not know how to go now.

  1. Find a way to access that the / field is a part of the name. (Highly impossible)
  2. Recover only a few fields from the table using the built-in access functions.
  3. Set up the connection manually using VBA and only if some files are the way to go, I get some signal because I do not know where to start from.

    Resolution number 3: I tried to connect directly to VBA is. The code works like a charm for other tables, but I still get an error for a table with problematic fields.

      String connection SRT = "ODBC; driver = {Oracle} in OraHome92}; Dbq = BLA1; uid = BLA2; PWD = BLA3," DoCmd.TransferDatabase acImport, "as a slow connection STR ODBC Database ", Connection SRT, AcTable," Miteable "," NewTable "   

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -