Advertisement

05.21.2008 at 06:47AM PDT, ID: 23420770
[x]
Attachment Details

Best way to replace text prior to import into a table (Null handling)

Asked by Merch_Ops in Access Coding/Macros, Microsoft Access Database, Visual Basic Programming

Tags: Microsoft, Access, 2003

Hi - I've got some code which saves a file to my local drive from an FTP server and then imports it into Access.

Unfortunately the file (in .csv format) is exported with a strange Null handler...
All instances of Null are replaced by the word "None"...

This causes Access to reject field type definitions (date etc...) as it sees the fields as text.

What's the best way to handle this - can I somehow convert the .csv file within my procedure then import it (the most desirable option). Or is there some way of quickly making the changes after importing the file into an all text field Table?

For now we'll assume we're not able to get those exporting it to change their Null definition.

Thanks!
Alastair.Start Free Trial
 
Loading Advertisement...
 
[+][-]05.21.2008 at 06:52AM PDT, ID: 21615029

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Access Coding/Macros, Microsoft Access Database, Visual Basic Programming
Tags: Microsoft, Access, 2003
Sign Up Now!
Solution Provided By: capricorn1
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05.21.2008 at 12:33PM PDT, ID: 21618271

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 01:01AM PDT, ID: 21630235

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 01:53AM PDT, ID: 21630449

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 01:55AM PDT, ID: 21630460

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.23.2008 at 04:47AM PDT, ID: 21631145

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.24.2008 at 02:21PM PDT, ID: 21640285

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628