Mike-

Using the Requery method on the combo box itself should work.  You should do
it in AfterUpdate of the first combo:

   Me.SecondCombo.Requery

John Viescas, author
"Building Microsoft Access Applications"
"Microsoft Office Access 2003 Inside Out"
"Running Microsoft Access 2000"
"SQL Queries for Mere Mortals"
http://www.viescas.com/
 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Mike Bisson
Sent: Tuesday, January 17, 2006 11:22 AM
To: [email protected]
Subject: [ms_access] ComboBox refresh

Hi All,

I have a form which contains two combo boxes.  The first combo box is based
on a query that selects machine id's from my machine table.  The second
combo box is based on a query that pulls submachines from my machine table
using the entry in combo box 1 as the criteria.  Both combo boxes are
unbound since I am only using these to make selections for criteria for
running a report.  I have other forms that contain combo boxes that work in
the same way except for the fact that they are bound.  I can't get the
unbound comboboxes to refresh using the repaintobject, refresh or requery
options on the Got_Focus event.  This is no problem with my bound combo
boxes.  What am I missing?

==================================
Mike Bisson
Manager of IT & Logistics
Carthuplas, Inc.
V: 207-985-4972 x658  F: 207-985-2105
[EMAIL PROTECTED]  http://www.carthuplas.com



 
Yahoo! Groups Links



 






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ms_access/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to