B
Bruce
Hi,
I have written an Access procedure that retrieves a XML table and saves it
as a .csv. This is then imported into my database with the transfertext
method. All is well so far.
The problem is that within the data retrieved from the web it returns a N/A
(as a text) if a value does not exist. Normally the values should be numeric
and I have no control over what data comes back. This means I get a type
conversion failure when I import into access and this is causing access to
crash at times.
As a solution I am thinking I could do a find and replace the N/A with a
zero and problem solved. If I open the .csv in excel the relevant fields are
in columns D and E and my file is called download.csv.
Am i on the right track? How do I run a function from Access to do the find
and replace so I can add this to my procedure before running transfertext?
Bruce
I have written an Access procedure that retrieves a XML table and saves it
as a .csv. This is then imported into my database with the transfertext
method. All is well so far.
The problem is that within the data retrieved from the web it returns a N/A
(as a text) if a value does not exist. Normally the values should be numeric
and I have no control over what data comes back. This means I get a type
conversion failure when I import into access and this is causing access to
crash at times.
As a solution I am thinking I could do a find and replace the N/A with a
zero and problem solved. If I open the .csv in excel the relevant fields are
in columns D and E and my file is called download.csv.
Am i on the right track? How do I run a function from Access to do the find
and replace so I can add this to my procedure before running transfertext?
Bruce