Solved

Import and Export Application

Posted on 2004-04-23
7
229 Views
Last Modified: 2010-05-02
I am making new application Where I need to import and export various file.

Please help with suggestions and some sample applications to meet my deadline.
Regards
SparabSOL
0
Comment
Question by:sparabsol
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 10898622
What kind of files do you want to import ? To what do you want to import ?
What kind of files do you want to export ?

Remember, each file type has it's own speficic advantages and disadvantages.
Every kind of file will be handled differntly.
Fe:
Excell-file
Text-file with "," as separator
Text-file with a specific lengt of each field
XML-file
...
0
 
LVL 4

Expert Comment

by:SSSoftware
ID: 10898650
to Sparbsol;

I don't think anyone can help you unless you provide more information.

1) How many files?
2) Are they all the same?
3) What is the format of the input
   A) Excel
   b) Word
   C) Dos Fixed field
   D) DOS CSV
   E) etc.
4) Where do you want the output to go to?  
  A) Access
  B) Dos file
  C) Nowhere - Just needed in the program
  E) etc.
5) Any restrictions that you can think of?

THis is the best forum I have delt with and the correspondents are of great help

But!!!! You need to give them something to work with.

If not you'll be answering questions all week.

Best of luck,
Ed



0
 
LVL 4

Expert Comment

by:SSSoftware
ID: 10898660
Looks like DHADST had the same thoughts,

We overlapped time.

Ed
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 

Author Comment

by:sparabsol
ID: 10906179
SSSOftware

1) How many files?
I want to import a single file at A Single time
2) Are they all the same?
I want to import a single file of selected type into my database.Could be SQL OR Linked SQL Or Proper SQL
3) What is the format of the input
   A) Excel - Yes
   b) Word - N/A
   C) Dos Fixed field
   D) DOS CSV -YES
   E) Delimited-YES
   F) DBF-IV -YES
   G)ACCESS-YES
4) Where do you want the output to go to?  
  A) Access-YES
  B) Dos file -NO
  C) Nowhere - Just needed in the program-N/A
  E) etc.
  F) SQL
5) Any restrictions that you can think of?
A)YES when i am importing data I have two option One is to append data and another one is Update data.
b) I am selecting Data NAME To Update data.and Giving new data NAME to append data.
c)  Updating data could be based on contition also.E.g. When I am importing data i am selecting data name and  conditions
d)  While updating data If Records are not matched I am creating one report in excel Log file about such records.

I need some expamles for importing applications.I am very much clear about the application and Very fir with the code.

Regards
SparabSOL
0
 
LVL 4

Expert Comment

by:SSSoftware
ID: 10907164
Sparbsol

Assumption: when you say "Data Name" you mean Database name (Access database) and Table name.

To summerize,

What you want is from almost any type of input to access, with the choice of Appending records (to the end of a new or old table) or Updating records.

This can be done but not without a lot more knowledge of the input and output.

I suggest you hire a very good local VB knowledgable person to help you since this sounds like almost a never-ending task.

Suggestion,

Start with one input, make it work then keep adding additional input.

You can find in this forum ways of reading and all the types of data you want. Also how to work with access tables (and how to create them dynamically)

Good luck,
Ed
0
 
LVL 11

Accepted Solution

by:
sparab earned 125 total points
ID: 10917129
Here are some examples of importing

1.importing text files

http://www.carjax.com/docs/VB6DBHow2/ch05/ch05.htm#Import a text file?


0
 
LVL 11

Expert Comment

by:sparab
ID: 11159774
Thanks SparabSol

I am giving you more example about importing Text file in delimitated format.

http://www.experts-exchange.com/Databases/MS_Access/Q_21002499.html

Regards
Sparab
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question