Solved

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

Posted on 2012-03-20
3
341 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:Elroy Taulton
[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
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 48

Accepted Solution

by:
Dale Fye 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

626 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