Subject: Trying to open up a record in a form called "fmappointm ent" when clicking on a "looks like hyperlink" text box called "ContactID"
I have made many instances of this in my database but in this case I am having a setup problem and getting the error "insert perameter"
NOTE: when I do insert the record number in the pop up box the correct record does show
What I have
Text Box - "ContactID" on "Datessubfo rm"
Main Form -"Frmcalenda r"
Subform - "Datessubfo rm" inserted into "Frmcalenda r"
(1) I have made a macro in the text box of "contactId" which I have made to look like a hyperlink on "Datessubfo rm"
(2) In the "click" event I have inserted
[contactID]=[forms]![FrmCalendar]![Datessubform]![contactid]
NOTE: The main form is a calendar "frmcalenda r" with 37 subforms "datessubfo rm" that is a continous form with names "SF1 thru SF37"
I have tried many, many variations to make this work with no luck. The closest I can get is to open up the first record in the "fmappointm ent" not the one I am requesting.
I have tried to give as much information as possible - if more is needed please ask.
Time for me to ask the pros for some advice!
Thanks
Gary
I have made many instances of this in my database but in this case I am having a setup problem and getting the error "insert perameter"
NOTE: when I do insert the record number in the pop up box the correct record does show
What I have
Text Box - "ContactID" on "Datessubfo rm"
Main Form -"Frmcalenda r"
Subform - "Datessubfo rm" inserted into "Frmcalenda r"
(1) I have made a macro in the text box of "contactId" which I have made to look like a hyperlink on "Datessubfo rm"
(2) In the "click" event I have inserted
[contactID]=[forms]![FrmCalendar]![Datessubform]![contactid]
NOTE: The main form is a calendar "frmcalenda r" with 37 subforms "datessubfo rm" that is a continous form with names "SF1 thru SF37"
I have tried many, many variations to make this work with no luck. The closest I can get is to open up the first record in the "fmappointm ent" not the one I am requesting.
I have tried to give as much information as possible - if more is needed please ask.
Time for me to ask the pros for some advice!
Thanks
Gary
Comment