473,473 Members | 1,875 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

MS Access: Clear a field

5 New Member
Hello Everyone.

First of all I want to thank everyone for their help on a previous question of mine. Unfortunately I have one more.

I'm working a Church database that is largely an address book. I have various mail lables being generated based on various fields and conditions... nothing too complicated. Now one think my Pastor asked was the ability to make a taylor made mailing list for the 'unique' situations that may occur. So for that I simply set up a Y/N check box field for 'Manual Selection Mail'. Now that created the mail list easy enough but here is the main question. How do I reset?

What I would like to do is set a button that will clear the 'Y' flags of all the records back to Null or Delete the Y flags for All the records selected.

If this is not possible I can accept it but I don't think it would be too hard, I just don't know how to do it.
Oct 8 '07 #1
3 8057
nico5038
3,080 Recognized Expert Specialist
You can create an UPDATE query to set or reset the YesNo field like:
Expand|Select|Wrap|Line Numbers
  1. UPDATE tblMembers SET EmailYN = True
  2.      or
  3. UPDATE tblMembers SET EmailYN = False
  4.  
Just save the queries and run them when needed.

Clear ?

Nic;o)
Oct 8 '07 #2
strods
5 New Member
perfect.. I attched them to action buttons so the lay person could reset when they want
Oct 8 '07 #3
nico5038
3,080 Recognized Expert Specialist
Glad I could help and success with your application !

Nic;o)
Oct 8 '07 #4

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

Similar topics

3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
1
by: Andrew Arace | last post by:
I scoured the groups for some hands on code to perform the menial task of exporting table data from an Access 2000 database to Oracle database (in this case, it was oracle 8i but i'm assuming this...
3
by: MT 2MB | last post by:
I created an access journal entry program many years ago. It works for all and was working for an individual until recently. The report shows ?Name! for every instance it repeats in the report. ...
35
by: deko | last post by:
Do I get more scalability if I split my database? The way I calculate things now, I'll be lucky to get 100,000 records in my Access 2003 mdb. Here some math: Max mdb/mde size = 2000 x 1024 =...
46
by: Adam Turner via AccessMonster.com | last post by:
If I had a field called "Name" in an Access table "Contact Info", and the field contained VBScript... Function Main(rstFields) Main = rstFields.Item("FirstName").Value End Function 1. How do...
7
by: Ananda Sim | last post by:
For those who haven't RSSed the blog: http://blogs.msdn.com/access/archive/2005/10/13/480870.aspx
9
by: RMC | last post by:
Hello, I'm looking for a way to parse/format a memo field within a report. The Access 2000 database (application) has an equipment table that holds a memo field. Within the report, the memo...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
1
by: EricEAS | last post by:
Hi. I am fairly new at Access and used to use Lotus Approach. There was one function in Approach I used to find very useful and I can't seem to find it in Access. It is to do with importing...
10
by: Les Desser | last post by:
In article <fcebdacd-2bd8-4d07-93a8-8b69d3452f3e@s50g2000hsb.googlegroups.com>, The Frog <Mr.Frog.to.you@googlemail.comMon, 14 Apr 2008 00:45:10 writes Thank you for that. It was very...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.