A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Weed Out Inactive Forms



 
 
Thread Tools Display Modes
  #1  
Old October 25th, 2007, 06:20 PM posted to microsoft.public.access.forms
kalyhan
external usenet poster
 
Posts: 18
Default Weed Out Inactive Forms

Hi Everyone.

Is there a simple flag I can enter into a table which will keep various
records
from showing when updating forms? I don't really want to remove them from
my table. The table contains many entries, but we only need to update
current records. I want to try this before getting into an append query.

Thanks!
Karen
  #2  
Old October 25th, 2007, 06:35 PM posted to microsoft.public.access.forms
benyod79 via AccessMonster.com
external usenet poster
 
Posts: 24
Default Weed Out Inactive Forms

Add a Yes/No field to your table.

YourTable
Field1
Field2
ynShow Yes/No


Then your append query would have criteria for ynShow "Yes" and it would only
show those records with Yes.



kalyhan wrote:
Hi Everyone.

Is there a simple flag I can enter into a table which will keep various
records
from showing when updating forms? I don't really want to remove them from
my table. The table contains many entries, but we only need to update
current records. I want to try this before getting into an append query.

Thanks!
Karen


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200710/1

  #3  
Old October 25th, 2007, 07:53 PM posted to microsoft.public.access.forms
Klatuu
external usenet poster
 
Posts: 7,074
Default Weed Out Inactive Forms

criteria for ynShow "Yes"
will not work. Comparing a boolean data type to a text string.
should be ynShow = True

--
Dave Hargis, Microsoft Access MVP


"benyod79 via AccessMonster.com" wrote:

Add a Yes/No field to your table.

YourTable
Field1
Field2
ynShow Yes/No


Then your append query would have criteria for ynShow "Yes" and it would only
show those records with Yes.



kalyhan wrote:
Hi Everyone.

Is there a simple flag I can enter into a table which will keep various
records
from showing when updating forms? I don't really want to remove them from
my table. The table contains many entries, but we only need to update
current records. I want to try this before getting into an append query.

Thanks!
Karen


--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200710/1


  #4  
Old October 26th, 2007, 12:55 PM posted to microsoft.public.access.forms
benyod79 via AccessMonster.com
external usenet poster
 
Posts: 24
Default Weed Out Inactive Forms

You're right. Remove the qotes around the Yes

However, for a boolean field you can use {Yes, True -1} all of which return
the same thing in a query.


Klatuu wrote:
criteria for ynShow "Yes"
will not work. Comparing a boolean data type to a text string.
should be ynShow = True

Add a Yes/No field to your table.

[quoted text clipped - 16 lines]
Thanks!
Karen


--
Message posted via http://www.accessmonster.com

  #5  
Old October 26th, 2007, 05:45 PM posted to microsoft.public.access.forms
Dirk Goldgar
external usenet poster
 
Posts: 1,164
Default Weed Out Inactive Forms

In ,
kalyhan wrote:
Hi Everyone.

Is there a simple flag I can enter into a table which will keep
various records
from showing when updating forms? I don't really want to remove them
from my table. The table contains many entries, but we only need to
update current records. I want to try this before getting into an
append query.


No need to remove them from your table. Just add a boolean "Inactive"
field to your table, set it to True for the records you don't want to
see any more, and change the recordsources of your forms to queries that
retrieve only records where Inactive = False.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.