C
Chris
I need to transfer the value of strSection from the click
event sub to the form load sub. below are what I have now
and the strSection value is blank one the form load sub is
activated.
Sub AA_Click()
strSection = "AA"
DoCmd.OpenForm "frmEmp", acNormal
End Sub
Public Sub Form_Load()
Forms![frmEmp]![cobEmp].RowSource = "SELECT
[Application_User_Name]FROM [tblEmployees] WHERE
[section_id] = 'strSection' ORDER BY
[Application_User_Name];"
End Sub
Any help is appreciated
Thanks
-Chris
event sub to the form load sub. below are what I have now
and the strSection value is blank one the form load sub is
activated.
Sub AA_Click()
strSection = "AA"
DoCmd.OpenForm "frmEmp", acNormal
End Sub
Public Sub Form_Load()
Forms![frmEmp]![cobEmp].RowSource = "SELECT
[Application_User_Name]FROM [tblEmployees] WHERE
[section_id] = 'strSection' ORDER BY
[Application_User_Name];"
End Sub
Any help is appreciated
Thanks
-Chris