Solved

Import and Export Application

Posted on 2004-04-23
7
225 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
Comment Utility
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
Comment Utility
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
Comment Utility
Looks like DHADST had the same thoughts,

We overlapped time.

Ed
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:sparabsol
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

763 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

8 Experts available now in Live!

Get 1:1 Help Now