ADO Weirdness: Changes dots to #'s in FieldNames

  • Thread starter Thread starter Hash
  • Start date Start date
H

Hash

All -

In inporting to Excel via ADO, I found fieldnames formatted as emails
have their dots (.'s) changed to pound signs (#'s). I verified the
fieldname correct as entered in the closed workbook. The change happens
during the import.

Is this to be expected? I'm an ADO rote user for now and couldn't even
phrase the question right in 10 words or less for Google to find an
answer.

My workaround was to use J-Walk's closed workbook macro for the
fieldname and ADO for the rest.

Is there a way to do this in ADO without further hassle? Or is this
just the way it is?

Thanks in advance.

....best, Hash
 
One workaround would be to use the REPLACE function on the header row in your
code immediately after you execute the sql statement. (Replace all #s with
dots) in the header row.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top