473,407 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Exporting Data using Check-Box

We use Access to request information from a different department. Once the other department has completed the request we want to avoid manually transferring the request over to an archive.

I'm trying to transfer records out of one table to another using a button (preferably check-box but whatever works best) on the form.

Once we select the button on the form, we want all the data from that record moved over to a different table (hence removing it from the previous form).


I'm not a programmer, so I hope I've given you enough to work with here. Thank you for the help.
Feb 24 '15 #1

✓ answered by twinnyfo

I think I understand your issue exactly. If you had a Yes/No field in your Table called "Archive", then if it was False, it would show up on the Approvals Form. If it was True, then it would show up in your Archive Form.

You merely filter your various forms based on those criteria. This is really the better way to do things, rather than transferring data between tables.

Hope this helps.

5 1252
twinnyfo
3,653 Expert Mod 2GB
ddaviglus,

Welcome to Bytes!

First, I would recommend not transferring those archived records to another table, but instead maintaining the records as is, but keeping the "Archived" flag. Then, if you need to query any "current" records, you just use as one of your criteria:

Archived = False

Then, you can still query all records (or just archived records). I had a similar set up to your tables a while back, and thanks to some wise guidance on this forum switched to a one-table structure.

Since you are still maintaining the original data, you are actually using more space with two tables, and the task of querying all records becomes unwieldy.

Perhaps this is not a "solution" to your problem, but a recommendation on good DB structure.

If you should so choose to continue with your current plan, we can also assist with a solution in that vein, but I would highly recommend you weigh your options carefully.
Feb 24 '15 #2
twinnyfo,

Quick and thorough response. Thank you.

I may be using wrong terms so I'll give you a bit more info to help you understand my dilemma.

We use a form labeled APPROVALS that contain records with general requests. Once these records are completed in APPROVALS they automatically transfer over to the ARCHIVE form in 14 days. We don't want to wait for that time if the request is completed. If its done we want it out of APPROVALS immediately. We are running into the problem of duplicating work because completed requests sit in the APPROVALS form for 14 days.

So I was asked to add a button, or check-box, something to move the completed request record from the APPROVALS to the ARCHIVE form once the button is clicked. I also need to remove the rule that is already in place that automatically takes the info from APPROVALS to ARCHIVE after 14 days.

Any help is greatly appreciated.
Feb 24 '15 #3
twinnyfo
3,653 Expert Mod 2GB
I think I understand your issue exactly. If you had a Yes/No field in your Table called "Archive", then if it was False, it would show up on the Approvals Form. If it was True, then it would show up in your Archive Form.

You merely filter your various forms based on those criteria. This is really the better way to do things, rather than transferring data between tables.

Hope this helps.
Feb 24 '15 #4
twinnyfo,

I have followed your directions and setup a YES/NO field in my original ARCHIVE TABLE.

Now that I've had some more time to learn how the database is linked I have more info to help you understand my dilemma better. It appears the APPROVAL FORM (where I added the CHECK BOX that is linked to this new Y/N FIELD) gets all its records from a Query titled Archive not from TABLE ARCHIVE. How do I complete your suggestion "if False show up in Approvals form and if True show up in Archive"?

I hope Im asking the right question here. I cant understand how to setup the check box to actually exclude a record on the APPROVAL FORM when the check box is selected.

Thanks for all your insight.
Mar 12 '15 #5
I was able to use your advice and fig it out. Thanks twinnyfo!
Mar 20 '15 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Chris | last post by:
Could someone please provide me an effective means of exporting data from a data set (or data grid) to Excel?
3
by: sridevi | last post by:
Hello How to export data from ms-access database to excel worksheet using ASP. mainly i need to export data to multiple worksheets. it is very urgent to us. i have a sample code which works...
2
by: ASIF | last post by:
Does anyone klnow of a quick way of exporting data from access to a text doucument, the data needs to be tab seperated, and the data to be exported needs to be selected using parameter queries. I...
1
by: Thankful Idiot via AccessMonster.com | last post by:
I was wondering if anyone knew anything about exporting data to ms word documents. I have a program that can gather data such as customer addresses, and would like to move it to a ms word document...
2
by: pmud | last post by:
Hi, I am exporting data from an EDITABLE DATA GRID EXCEL. But the 1st column in data grid is Edit Column. I want to display all columns in Excel except for the Edit column. The following...
1
by: mark.heyden | last post by:
Hi Frends, I am facing problems while trying to export data into pipe format. In fact I am fetching records from mysql database and then trying to create a text file ( using pipe as delimeter) ,...
2
by: Mux | last post by:
I am facing the following problem while exporting data to Word. The current implementation is as described below: I have a JSP file which has a link that enables you to export the data to Word....
0
by: db2admin | last post by:
Hi, I am getting error when exporting data from mainframe using db2 connect while i am on db2 on linux. Here is what error looks like...
11
by: TechnoAtif | last post by:
INSERT AND UPDATE MULTIPLE CHECKBOX DATA USING PHPMYSQL OR JAVASCRIPT Hi All I want to check the multiple checkboxes update them after revisiting that page. I am taking the name as...
13
by: ramprakashjava | last post by:
hi, i hav "java.lang.NullPointerException" error while Deleting table records using checkbox in jsp here i enclosed files help quickly plzzz.. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.