G
Guest
I am very very very novice at this, but here is what I attempted and it did
not wrok. Can you guide me:
Report:
Created a textbox with a with the control source as: TOCTitle()
Form:
Created a command button
On Click Event Procedure
Private Sub cmd2051f_Click()
strTOCTitle = "GF 20.5.1"
DoCmd.OpenReport "rptGFTOC",acViewPreview, "qryIdahoToc",
"gf_2051_frms_dist = yes"
End Sub
public strTOCTitle as string
public function TOCTitle() as string
TOCTitle = strTOCTitle
end function
What is wrong:
I click on the button and a Parameter Value dialog opens wanting a
value for TOCTitle().
Please help.
Thanks.
not wrok. Can you guide me:
Report:
Created a textbox with a with the control source as: TOCTitle()
Form:
Created a command button
On Click Event Procedure
Private Sub cmd2051f_Click()
strTOCTitle = "GF 20.5.1"
DoCmd.OpenReport "rptGFTOC",acViewPreview, "qryIdahoToc",
"gf_2051_frms_dist = yes"
End Sub
public strTOCTitle as string
public function TOCTitle() as string
TOCTitle = strTOCTitle
end function
What is wrong:
I click on the button and a Parameter Value dialog opens wanting a
value for TOCTitle().
Please help.
Thanks.