Thanks, but i tried that last one but it didnt help, if i selected nothing in the form, it successfully showed all records, but not when i made a specific selection, it still turned up no results, I'll try it again though
Sooooooo close!!
I opened the form and selected one and bingo! it worked! But when i closed the result table and clicked on another selection, the error "You cancelled the previous operation" came up. What could be causing that?
WHERE ((([Arrivals/Departures].[Plane ID])=[Forms]![advflight]![plID]) AND (([Arrivals/Departures].[Gate Number])=[Forms]![advflight]![gate]) AND (([Arrivals/Departures].[Arriving From])=[Forms]![advflight]![arriving]) AND (([Arrivals/Departures].[Date of Arrival])=[Forms]![advflight]![darr])...
same thing again, no records in my query
There definetely should be, i tried multiple values in all fields but i still got no results
However, when i entered data into the form which was exactly the same as one record in my table, it successfully showed that one. Not sure if that helps.
No luck, i get a "You cancelled the previous operation" error, when i debug, it highlights
Private Sub Command29_Click()
DoCmd.OpenQuery "advflightsearch" <--whole line highlighted
Me.arriving = ""
Me.gate = ""
Me.plID = ""
Me.departing = ""
Me.darr = ""
Me.ddep = ""
Me.Airline = ""
End Sub
Thanks, but i tried that last one but it didnt help, if i selected nothing in the form, it successfully showed all records, but not when i made a specific selection, it still turned up no results
this is what i have in the form
Private Sub Command29_Click()
DoCmd.OpenQuery "advflightsearch"...
Hi,
I am currently doing a database project for school. I have a form called "advflight" which has 2 list boxes, 2 text boxes and 3 combo-boxes. The problem is that when i select one value from a box to be my criteria, it accepts all the other values as nothing, therefore returning no results...
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.