Solved

Import and Export Application

Posted on 2004-04-23
7
226 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
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now