Solved

Creating a CSV file from a button on a MS Access Form

Posted on 2012-03-20
3
299 Views
Last Modified: 2012-03-21
I have a button on a from that when pressed, creates an export CSV file and saves it out on a network share.  However, my end users are not notified if the export is finished.

Is there a way to present a message back stating that the export has taken place and/or completed?
0
Comment
Question by:HMSImage
3 Comments
 
LVL 42

Expert Comment

by:dqmq
ID: 37745717
I'm confused, can't you just throw up a message after the export?
0
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 100 total points
ID: 37746215
Does the export take a long time?

If it's immediate then you can just add a msgbox to the button code you are already using.
0
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 400 total points
ID: 37746645
I agree with peter, just add a msgbox as the last line in the click event of your export button.  Something like:

    msgbox "Export complete"

How are you creating the CSV?  If it takes a while to run, and you are writing the entries one line at a time to a text file, then you might also want to look at some sort of progress bar, to keep your users informed of the progress of the process.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

932 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

13 Experts available now in Live!

Get 1:1 Help Now