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  

Same query: Subform 0, combobox 1, wins by KO



 
 
Thread Tools Display Modes
  #1  
Old January 18th, 2008, 12:39 PM posted to microsoft.public.access.forms
The Dude
external usenet poster
 
Posts: 30
Default Same query: Subform 0, combobox 1, wins by KO

Hello

I have a table I want to modify but after it's filtered by an ID number.

I have created a query that works great and added a listbox that displays
the IDs and when I select the ID it requeries the query.

Because I want the users to be happy, I have created a form (where the
listbox is), and a subfom object that has created a subform where my query is
ran. I then have a nice form with a datasheet display underneath to tick the
checkboxes I need.

BUT, the problem is that the subform displays the first ID correctly - but
not the other ones. I have tried to link the WHERE to a textbox, unbound
anyways, but it doesn't work.
Finally, I've tried a combobox with the exact same query than the subform
and it does work. For all the IDs.

So why would the subform not work where the combobox does??
Any chance I can use a different way to display a table and modify
checkboxes for several entries?

THANKS a lot for all the great help
  #2  
Old January 18th, 2008, 12:46 PM posted to microsoft.public.access.forms
The Dude
external usenet poster
 
Posts: 30
Default Addendum

I have checked deeper and realized that it does only work with the first ID
of the table: that is if the table's first entry's ID is a 6, then it will
only display the 6s correctly.

Another surprise is that now the subform does work well as a query, but it
does not work once in the other form's object.

I can't understand this one... just weird...

"The Dude" wrote:

Hello

I have a table I want to modify but after it's filtered by an ID number.

I have created a query that works great and added a listbox that displays
the IDs and when I select the ID it requeries the query.

Because I want the users to be happy, I have created a form (where the
listbox is), and a subfom object that has created a subform where my query is
ran. I then have a nice form with a datasheet display underneath to tick the
checkboxes I need.

BUT, the problem is that the subform displays the first ID correctly - but
not the other ones. I have tried to link the WHERE to a textbox, unbound
anyways, but it doesn't work.
Finally, I've tried a combobox with the exact same query than the subform
and it does work. For all the IDs.

So why would the subform not work where the combobox does??
Any chance I can use a different way to display a table and modify
checkboxes for several entries?

THANKS a lot for all the great help

  #3  
Old January 18th, 2008, 12:46 PM posted to microsoft.public.access.forms
The Dude
external usenet poster
 
Posts: 30
Default Addendum

I have checked deeper and realized that it does only work with the first ID
of the table: that is if the table's first entry's ID is a 6, then it will
only display the 6s correctly.

Another surprise is that now the subform does work well as a query, but it
does not work once in the other form's object.

I can't understand this one... just weird...

"The Dude" wrote:

Hello

I have a table I want to modify but after it's filtered by an ID number.

I have created a query that works great and added a listbox that displays
the IDs and when I select the ID it requeries the query.

Because I want the users to be happy, I have created a form (where the
listbox is), and a subfom object that has created a subform where my query is
ran. I then have a nice form with a datasheet display underneath to tick the
checkboxes I need.

BUT, the problem is that the subform displays the first ID correctly - but
not the other ones. I have tried to link the WHERE to a textbox, unbound
anyways, but it doesn't work.
Finally, I've tried a combobox with the exact same query than the subform
and it does work. For all the IDs.

So why would the subform not work where the combobox does??
Any chance I can use a different way to display a table and modify
checkboxes for several entries?

THANKS a lot for all the great help

 




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 09:58 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.