Only first column of Listbox for Query

belly0fdesire

Registered User.
Local time
Today, 08:54
Joined
Dec 1, 2005
Messages
11
I'm still a little new to this, so please bear with me. I've searched to no avail for what I am looking for, so if there is an existing thread and you would rather point me in it's direction as opposed to answering my question, that would be fine.

I want one of the parameters of my delete query to be only the first column of my "ProdList" listbox, but don't know how to specify this. This is what my query looks like so far... Can someone tell me how do i need to change it?

Code:
DELETE ProductionLog.Username, ProductionLog.Date, ProductionLog.OrderNumber
FROM ProductionLog
WHERE (((ProductionLog.Username)=fOSUserName()) AND ((ProductionLog.Date)=[Forms]![Production]![TheDate]) AND ((ProductionLog.OrderNumber)=[Forms]![Production]![ProdList]));
 
You need to change the Boound Column in your list box to the column you want.
 
Ah... so that's what that means. Thank you very much for the help, it works perfectly.
 

Users who are viewing this thread

Back
Top Bottom