i have found a way of using a multi-select box, entering data into a database, and then pulling it back out into a from,
hope this helps someone
Private Sub Form_Current()
'Deselect old values
Dim varItem As Variant
For Each varItem In List8.ItemsSelected...
qbooking = a (access) query (bid, date, status(if table is open,paid etc), then table1-table37)
first three items come from table called Booking and the rest from Table called Tables link by bid
hope that helps
some good reading, made a start...
tried your answer,
renamed my field names to 'Table1-Table37' (made sense as to how you put it) rather than just 1-37
but now get a cancil prev operation error, any ideas? i don't see what would make that error
thank you for your help
Thanks but the problem is i have 37 checkboxes, and don't want to write the code 37 times,
sorry i missed a bit on my last post
check = DLookup(box, "qbooking", box & "=yes")
so hoping for . dlookup ( varible, "QUERY", varible = "YES" )
thank you for the quick reply
i don't know if this is possible in vba,
to help here's a bit of background, i'm trying to creating an access replacement for a paper based log, so to speak, for a restaurant,
i have a few tables, forms some with sub forms and some querys.
one sub form has checkboxes to represent tables (based...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.