Combo box help???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I can not figure out what I am doing wrong here.

I have a query that my table Transplant is used. I have the filed " Week of"
in the second row of the QBE pane and in criteria I have
[Forms]![Trans2]![Combo11] and the show box is unchecked. Now when I open the
from "Trans2" and select a date from the drop down it does not show the
records. I have table source set to the query. I do not know what I am
missing can someone please help.

Lime
 
Hi,
I can not figure out what I am doing wrong here.

I have a query that my table Transplant is used. I have the filed " Week of"
in the second row of the QBE pane and in criteria I have
[Forms]![Trans2]![Combo11] and the show box is unchecked. Now when I open the
from "Trans2" and select a date from the drop down it does not show the
records. I have table source set to the query. I do not know what I am
missing can someone please help.

By "table source" do you mean... Recordsource for the form?

If so, you may need to Requery the form in the afterupdate event of
Combo11: click the ... icon by the After update row of the Events tab,
select Code Builder, and edit to

Private Sub Combo11_AfterUpdate()
Me.Requery
End Sub

You should probably first change the name of the combo to something
more meaningful!!

John W. Vinson [MVP]
 
It's debugging Object invalid or no longer set

John W. Vinson said:
Hi,
I can not figure out what I am doing wrong here.

I have a query that my table Transplant is used. I have the filed " Week of"
in the second row of the QBE pane and in criteria I have
[Forms]![Trans2]![Combo11] and the show box is unchecked. Now when I open the
from "Trans2" and select a date from the drop down it does not show the
records. I have table source set to the query. I do not know what I am
missing can someone please help.

By "table source" do you mean... Recordsource for the form?

If so, you may need to Requery the form in the afterupdate event of
Combo11: click the ... icon by the After update row of the Events tab,
select Code Builder, and edit to

Private Sub Combo11_AfterUpdate()
Me.Requery
End Sub

You should probably first change the name of the combo to something
more meaningful!!

John W. Vinson [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Long delay in copying small files on shared drive 2
Lots of SMB traffic 3
Combo Box Help 5
2 combo boxes 2
Combo Box help 0
Combo Box 1
Formatting combo box drop-down list 1
Communicating between forms 4

Back
Top