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  

new navigation control Access 2010beta



 
 
Thread Tools Display Modes
  #1  
Old January 19th, 2010, 07:08 PM posted to microsoft.public.access.forms
Lorenz Hölscher
external usenet poster
 
Posts: 24
Default new navigation control Access 2010beta

Hi everyone again,

there is a new 'navigationbar' (correct translation?) control coming
with access 2010 forms. Does anybody know how the 'Where-clause for
navigation' property works?

I thought it could be something like the Where-clause argument of the
DoCmd.OpenForm procedure. So I added '[myField]100' where myField is
a field name in the target form. But nothing changes. The target form
always shows all records unfiltered.

Thanks,
Lorenz
  #2  
Old January 19th, 2010, 08:25 PM posted to microsoft.public.access.forms
Albert D. Kallal
external usenet poster
 
Posts: 2,874
Default new navigation control Access 2010beta

"Lorenz Hölscher" wrote in message
...
Hi everyone again,

there is a new 'navigationbar' (correct translation?) control coming
with access 2010 forms. Does anybody know how the 'Where-clause for
navigation' property works?

I thought it could be something like the Where-clause argument of the
DoCmd.OpenForm procedure. So I added '[myField]100' where myField is
a field name in the target form. But nothing changes. The target form
always shows all records unfiltered.


The above works for me. I had to close/save the nav form, but then
re-opening it
did make the filter work.

Also, don't use ' or ", try:

[myField] 100

(no quotes needed)

Of course, if myField is a text field, then use somthing like:

[myCity] = "Edmonton"


--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada



  #3  
Old January 19th, 2010, 08:41 PM posted to microsoft.public.access.forms
Lorenz Hölscher
external usenet poster
 
Posts: 24
Default new navigation control Access 2010beta

Hi Albert,

maybe it's because I didn't close the form while testing. I will give
it a try tomorrow.

There were no quotes in the property but thanks for the hint.

Thanks again for your help,
Lorenz
  #4  
Old January 20th, 2010, 06:23 AM posted to microsoft.public.access.forms
Lorenz Hölscher
external usenet poster
 
Posts: 24
Default new navigation control Access 2010beta

....to all those who will read this later:

Yes, you have to close the form to let the 'Where...' property work.
Even if you change the property.

bye, Lorenz
 




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 12:26 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.