John,
The form's record source is Table1. There is no separate row source for the
QNumber or RMANumber fields.
Initially, there is another form where this data is entered, i.e.,
NewReturns. The form I am working in now is DispositionEntries and is a
three tab form populated by the table. The RMAListBox is based on a query to
retrieve specific info from the same table based on user selection. I use a
command button to open the form without any specificity as to record
selection. I am using 3 separate Cbos to select info from: One to select a
Q # that has not been completed by, in this case, Customer Service. So it
only lists those "unsigned." Second, to find any Q#, so that CS can look at
any record they need to. Third, to find a Q# based on an RMA, therefore
sorted by RMA. What I am trying to accomplish is to choose from any of these
and open that record and the RMAListBox to show all RMA's associated with
whatever record is chosen.
Am I to gather, that if I had based my entire form on a Query, then this
would be easy... simply requerying?
Also, John, I designed the RMAListBox to see records, but need it also to
choose records to show. If you have any wisdom as to how I can still do this
after the fact, I would greatly appreciate it. The problem with redoing it
is, I am viewing all the columns listed in my earlier post and it took a
while to fit them all neatly within the listbox and form! You've been very
helpful and I thank you very much for your insights and in my case, oft
necessary rebukes!!! Thanks.
John Vinson said:
John,
Thanks for the great reply. I added the criterion to the query and it works
great. However, I have not been successful in the requery part. I am using
a Cbo to pick a "Q" Number. Therefore the form generically opens on the
first record. My list box successfully shows all Q's associated with the RMA
number of this record. However, it never changes from this. I've added:
DoCmd.Requery [RMAListBox]
That should be requerying the Q Number control - not requerying
itself!
to the after update event of the RMANumber control, then tried the QNumber
control and even the form. Still stays the same. Everything in the form
updates, except the RMAListBox. But, if I open the query, it shows the
correct info of the record that is opened. Any clue what I am doing wrong?
What is the Recordsource of the Form? and what are the Row Sources of
the RMA and Q controls? I may be misunderstanding your structure.
John W. Vinson[MVP]