dbTalk Databases Forums  

2010 Navigation Pain

comp.databases.ms-access comp.databases.ms-access


Discuss 2010 Navigation Pain in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
The T
 
Posts: n/a

Default 2010 Navigation Pain - 09-21-2011 , 05:01 PM






I have a form, which works fine w/out the pain, but I need it to work
in the pain.

The form uses a listbox to select a persons name, which opens a
report that queries on date and [forms]![frmSelectAnalyst]!
[mylistbox].

Other forms/reports open/run correctly


Has anyone else had a problem w/forms/reports not loading?

Reply With Quote
  #2  
Old   
Patrick Finucane
 
Posts: n/a

Default Re: 2010 Navigation Pain - 09-23-2011 , 01:12 PM






On Sep 21, 5:01*pm, The T <teresaei... (AT) gmail (DOT) com> wrote:
Quote:
I have a form, which works fine w/out the pain, but I need it to work
in the pain.

The *form uses a listbox to select a persons name, which opens a
report that queries on date and [forms]![frmSelectAnalyst]!
[mylistbox].

Other forms/reports open/run correctly

*Has anyone else had a problem w/forms/reports not loading?
No. Look at ItemData, ListIndex, Column, ItemsSelected, and other
associated methods and properties of ListBoxes. You might want to
parse out the values and stuff in an invisible field the query can get
access to.

Reply With Quote
  #3  
Old   
Stephen Johnson
 
Posts: n/a

Default Re: 2010 Navigation Pain - 09-24-2011 , 10:51 AM



If this is not a multi select listbox, the default value of the
listbox will be the bound column of the selected item. In the On_Click
event, set up some code to test what value is being passed and compare
this to what is needed.

If it is a multi select, you can do the same with the ItemsSelected as
Patrick suggested.

If you are still having difficulty, please post your code that is
supposed to collect the value from the listbox and the code for the
sub/function the value is passed to.

Steve

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.