Hi Guy's
Trying to change a variable form's record source
here is what i have (ive only included what is needed)
Dim strSubFormName As String
strSubFormName = Forms![frmIndex].txtSearch.Tag
rs = "(SELECT * FROM tblMatrixCoreData WHERE tblMatrixCoreData.Accountno = " & strSearchValue & ")"
Forms![frmIndex]![strSubFormName].RecordSource = rs
i just get field strsubformname not found
Trying to change a variable form's record source
here is what i have (ive only included what is needed)
Dim strSubFormName As String
strSubFormName = Forms![frmIndex].txtSearch.Tag
rs = "(SELECT * FROM tblMatrixCoreData WHERE tblMatrixCoreData.Accountno = " & strSearchValue & ")"
Forms![frmIndex]![strSubFormName].RecordSource = rs
i just get field strsubformname not found