473,320 Members | 2,202 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Afterupdate is not requerying my list box when I navigate records!??

I am making a database of my movie collection and I have a form which
Shows a DVD Code in a combo, and a list of the divx movies on the dvd
on the right in a list box.

The combo boxes bound column is the dvdID but it is hidden just to
show the name. Anyway, I use the normal access record navigation
arrows to navigate through the dvd's I have and the combo box updates
accordingly to a new dvd and as it does this I want it to requery my
list box list38 every time I click on the record nav button.

Even though in the afterupdate property of the combo, i have put

me!list38.requery

It is not requerying the list box as it should when the contents of
the combo changes, it only requerys when you click on the combo?? I
want it to do it when it changes everytime you navigate with the nav
button.

thanks in advance,

Jon.

btw I am using access 2002.
Nov 12 '05 #1
1 2472
The AfterUpdate event of the combo box fires when you change the combo box
for the current record (i.e. you type something in or select something from
the drop down list). The event that fires when you move from one record to
the next is the form's Current event.

--
Wayne Morgan
Microsoft Access MVP
"Chicken Kebab Abdullah" <bo**********@yahoo.co.uk> wrote in message
news:db**************************@posting.google.c om...
I am making a database of my movie collection and I have a form which
Shows a DVD Code in a combo, and a list of the divx movies on the dvd
on the right in a list box.

The combo boxes bound column is the dvdID but it is hidden just to
show the name. Anyway, I use the normal access record navigation
arrows to navigate through the dvd's I have and the combo box updates
accordingly to a new dvd and as it does this I want it to requery my
list box list38 every time I click on the record nav button.

Even though in the afterupdate property of the combo, i have put

me!list38.requery

It is not requerying the list box as it should when the contents of
the combo changes, it only requerys when you click on the combo?? I
want it to do it when it changes everytime you navigate with the nav
button.

thanks in advance,

Jon.

btw I am using access 2002.

Nov 12 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: MDM | last post by:
I have a list box control that is bound to a query. The form is not bound to any source since I have a few list boxes from different sources. When the form opens the list box is populated...
3
by: MajorTom | last post by:
Hello I need help. I have a datagrid that have a dataview as datasource. in the keyup event of one textbox I use dataview.rowfilter = some.text; when the condition of my rowfilter return...
1
by: planetthoughtful | last post by:
Hi All, I have an ASP.NET page that is used to insert records into an SQL Server table (see previous post). I also have a GridView on the same page that displays the results of a query on the...
6
by: AA Arens | last post by:
Hi, I have a database with 2 main forms. Contacts and companies. I share the base with two others via LAN. On the companies form I have buttons to navigate throught the records (>400). We are...
3
by: rhobson2 | last post by:
Hello, I wrote a database applicaiton using Access XP (2002) and everything has been working good for the client until they purchased a couple of new computers with Access 2003. The meetings...
1
imrosie
by: imrosie | last post by:
Please help with this one,,,,,I've been trying everything in my arsenal to fix this one. I'm stumped.... I"ve got a unbound combo box (customername) that has two events (on click); AfterUpdate and...
4
by: EManning | last post by:
I have a combobox whose rowsource is a union query. This query displays a person's name in "lastname, firstname" format and in "firstname lastname" format. The query results look like this: ...
7
by: PNY | last post by:
Hi all, I have a form that uses the code listed below on the after update of a combo box and list box to search for a selected Name. (code for afterupdate for combo box) Private Sub...
1
by: garyb2008 | last post by:
Hi I have a form bound to a stored procedure. I have made it that on changing the value of a list box the form moves forward a record. I have done this using the afterupdate event of the list...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.