Help with Query!

B

Bob

Arthur its working good but now I have a drop down list that shows me all my
horses in active Mode so now when they leave qryOrderByHorseName and go into
tblInvoice_ItMdt I lose them off this dropdown list untill they appear again
in qryOrderByHorseName. Its a Combo box using the same Query, How can I get
around this....I am very much appreciated for you help on
this........regards Bob
 
B

Bob

This is the code in My ComboBox drop down list maybe something added to it:
To show Horses that are in tblInvoice_ItMdt as well

SELECT tblHorseInfo.HorseID, funGetHorse(0,tblHorseInfo.HorseID,false) AS
Name, [StableReturnDate]
FROM tblHorseInfo
WHERE Status LIKE 'Active*' AND
tblHorseInfo.HorseID NOT IN
(SELECT HorseID FROM TblInvoice_ItMdt)
ORDER BY funGetHorse(0,tblHorseInfo.HorseID,true),
funGetHorse(0,tblHorseInfo.HorseID,false);

Thanks Bob
 
B

Bob

YEAH I did it , I made a new Query Name using your code an assigned it to
that List Box , Brilliant Thanx :)
 
A

arthurjr07

good job :)

Bye my friend, its already late in the evening here.
I have to go home.

Arthur
 

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

Addition to a Query! 1
Addition to Query 10
Double Click List Box! 2
Change Row Source to Query! 10
Dropdown Select Problem 2
Print order by Date 13
Change Order on a Report! 2
Adding a new column to ListBox! 7

Top