Gasman
Enthusiastic Amateur
- Local time
- Today, 06:55
- Joined
- Sep 21, 2011
- Messages
- 17,480
The code you need to see the value is
I have not used macroes, except for batch processes, and looking at this, unlikely to.
I suggest you start here.
http://allenbrowne.com/tips.html
There is a search form there and I used that method for one of my DBs.
I do not have the experience to write this for you.
There is a SearchForRecord macro, but that appears to only work on tables, forms, reports and queries. When I tried with your Client_Details form, it complained it was not open, so obviously could not see it within the subform control.
You need to bite the bullet and learn VBA else find a site that uses macroes extensively, as hardly anyone here uses them as far as I know.
Also you will need to use the main form control sect as that is what you are trying to find, after seeing your form.
Code:
Private Sub Command38_Click()
MsgBox "Your Subformvalue is :" & Me.cntPassDetails.Form.Passenger_Name
End Sub
I have not used macroes, except for batch processes, and looking at this, unlikely to.
I suggest you start here.
http://allenbrowne.com/tips.html
There is a search form there and I used that method for one of my DBs.
I do not have the experience to write this for you.
There is a SearchForRecord macro, but that appears to only work on tables, forms, reports and queries. When I tried with your Client_Details form, it complained it was not open, so obviously could not see it within the subform control.
You need to bite the bullet and learn VBA else find a site that uses macroes extensively, as hardly anyone here uses them as far as I know.
Also you will need to use the main form control sect as that is what you are trying to find, after seeing your form.
Last edited: