Noep , nothing yet...resorted to the opening a new form idea and displaying the results from the combo...
Dim stDocName As String
Dim stFilter As String
stDocName = "awesome_view"
stFilter = "[Section] = '" & Me![section1] & "'"
DoCmd.OpenForm stDocName, , stFilter...
Can you have two subforms in one form...
One displaying a data sheet view of all records and the second subform displaying what id double clicked in the first subform...?
ouch even after all that I am still not getting it...
OK no new form I want it to stay in the same form...
have this now:
Private Sub section1_Change()
Dim section1 As String
DoCmd.ApplyFilter , "section1 = 'Section'"
End Sub
section1 is the combo name
section is the field...
Hi Misscrf
Thank you..the subform is set up as a subform datasheet.
You mentioned datasheet being ideal and requerying the subform where combo= comany field on subform...? Can you then help with the following where condition:
Forms![awesome_home]![section1].AfterUpdate =...
The combo boxes contain values of a control source of the sub form if that makes sense....
IE: drop down box is a list of companies and I would like to filter the sub form by the name of the selected company in the drop down box....
The drop down boxes have values in them that appear in a...
Hello ...
Need help in applying a filter to a form. The info is sitting in a sub form (dataview) and I have a few various drop down boxes that I have with a few value lists in them and would now like to set up a filter after update action in them...
I am here at the moment with no idea...
Hi
Did try both the command button and the message box however I still have the same error....the sub form is in dataview displaying the records...
The [paxID] is displayed in the message box so it is taking the linking code correct ? I am stumped ?
Thanx
Hi
Wow that is a cool trick and got code now however the error is still coming up:
However it is coming up with an error:Run time error '3709'
The search key was not found in any record ?
My code now looks like:
Private Sub paxID_DblClick(Cancel As Integer)
Dim stDocName As String...
Hi
Thank you for the reply...
OK trying a diffrent way and moved it to the control, in this case [paxid]
Private Sub paxID_DblClick(Cancel As Integer)
DoCmd.OpenForm "awesome1", , , "[paxID] = " & Me!paxID
End Sub
However it is coming up with an error:Run tim error '3709'
The search...
Hiya need some help with some code please...need to double click in a sub form that will open in a form and display the double clicked record...I have the following but it is not working:
Private Sub Form_DblClick()
DoCmd.OpenForm "awesome1", , , [paxID] = Me![paxID]
End Sub
Thank you
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.