J
JBurlison
Ok im Reallllllllllyyyyy new to programming in general and in trying to get a
search working that as 7 different criteria on a form, all criteria are
selected via dropdown and are unbound. i want to open a multiple items form
based on a query that i made and apply the 7 criteria and filter the form
from there i would like the ability to print the search Via a report i have
made. now thusfar i have this and it dose not work at all and i am really
need help lol:
Private Sub Command28_Click()
DoCmd.OpenForm "Main Inventory Advanced Search"
If IsNull([Forms]![Advanced Inventorysearch Beta]![User]) Or "" Then
Else
DoCmd.ApplyFilter 'cannot figure this function out for the life of me.
End If
End Sub
Now the form i want to apply the filter to is "Advanced inventory Search"
and the form the Critera is on is "Advanced Inventorysearch Beta". tried
doint this via macro but someone told me i cant because i would not be able
to print the results on the report i want but even after i figure out the
whole "apply Filter" thing with multiple criteria couldent i just point the
reports fields to this form or would i have to save the search as a quary
somehow?
search working that as 7 different criteria on a form, all criteria are
selected via dropdown and are unbound. i want to open a multiple items form
based on a query that i made and apply the 7 criteria and filter the form
from there i would like the ability to print the search Via a report i have
made. now thusfar i have this and it dose not work at all and i am really
need help lol:
Private Sub Command28_Click()
DoCmd.OpenForm "Main Inventory Advanced Search"
If IsNull([Forms]![Advanced Inventorysearch Beta]![User]) Or "" Then
Else
DoCmd.ApplyFilter 'cannot figure this function out for the life of me.
End If
End Sub
Now the form i want to apply the filter to is "Advanced inventory Search"
and the form the Critera is on is "Advanced Inventorysearch Beta". tried
doint this via macro but someone told me i cant because i would not be able
to print the results on the report i want but even after i figure out the
whole "apply Filter" thing with multiple criteria couldent i just point the
reports fields to this form or would i have to save the search as a quary
somehow?