4 replies
by tjcflys Accepted solution
by tony hopkinson Accepted solution
You need something in your form to say whether you want deleted or not.
Either set by what calls it View Orders or New orders, or last ditch a checkbox called Included deleted orders.
Once you've got that then you can change the query of the datasource have two and swap them, even two versions of the combo pointing at their specific rowsource and make the one you don't want invisible.
Here's something sneaky that might help you along
Select ProductName From Products
Where Product_Deleted = 'No'
Union
Select ProductName From Products
Where Product_Deleted = 'Yes' and !OrderForm.IncludeDeleted = 'Yes'
Order By ProductName.
Forgive me if the syntax is a bit duff, I try to steer clear of Access.
HtHs
by tjcflys Accepted solution
Thanks so much for taking the time to reply. I'm kind of new to this so this helps a lot. I had already made a checkbox so I was on the right track. Working on adapting your solution to my specific case. It is a datasheet format so I'm working on using the columnhidden property.
Thanks for sending me in the right direction!
by tony hopkinson Accepted solution
This discussion is closed to new replies.
Trending Software posts
Sort by Trending