PC Review


Reply
Thread Tools Rate Thread

what subform events should I use to requery listbox on a subform?

 
 
=?Utf-8?B?VGhvbWFz?=
Guest
Posts: n/a
 
      26th Oct 2004
I have a subform based on a query that may pull multiple records. There is a
unbound listbox on the subform that queries another table based on the value
of a field on the subform. When I moved from record to record on the subform,
contents of the listbox should change because the value of that data field on
the subform will change.

Could anyone tell me what subform or form events I should use so that when I
press the next record navigation button, the content of the listbox will be
automatically requeried.

Thanks in advance.
thomas
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9kZCBMZW1lbg==?=
Guest
Posts: n/a
 
      26th Oct 2004
Are you requerying your unbound listbox when you change records in the
subform? For example, in the subform's current event, is there a line of code
reading, Me.MyListBox.Requery

TL

"Thomas" wrote:

> I have a subform based on a query that may pull multiple records. There is a
> unbound listbox on the subform that queries another table based on the value
> of a field on the subform. When I moved from record to record on the subform,
> contents of the listbox should change because the value of that data field on
> the subform will change.
>
> Could anyone tell me what subform or form events I should use so that when I
> press the next record navigation button, the content of the listbox will be
> automatically requeried.
>
> Thanks in advance.
> thomas

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Requery Subform with no events carriey Microsoft Access Form Coding 3 17th Dec 2007 02:49 PM
Refresh/Requery Listbox from subForm =?Utf-8?B?UmlwcGVy?= Microsoft Access Form Coding 2 7th Sep 2007 06:31 PM
How to select one item in a listbox to requery subform Ynot Microsoft Access Form Coding 3 25th Jul 2007 02:02 PM
listbox requery on subform with no previous data =?Utf-8?B?TWVsYW5pZSBP?= Microsoft Access Form Coding 1 4th Sep 2006 07:14 PM
Requery listbox from a listbox =?Utf-8?B?Sm9lbA==?= Microsoft Access 1 7th Oct 2005 01:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:59 PM.