I have:
Parent For = frmContactList
Child Form = sfrmContactList
Unbound Form = frmLookUp
I want to change the recordset (originally based on qrycontactlist) from the unbound form
Im having problems set a varilabe, stSQL, equal to SQL statement the qrycontactlist was made of. I think this is because the SQL has "" in it. So when I put stSQL = "SELECT Trim([f_name]) & "" the origanl quotation used to make it a String may be interfering with SQL internal "".
Any thoughts?
Once I have that set and I choose a "WHERE" Clasue to add to I want to change the recordset of the subform sfrmContactList. I've tried:
Forms.frmContactList.sfrmStoredStudiesList.Form.RecordSource = strSQL
But dont know if I am referring to it correctly. I believe your supposed to . instead of ! when referring to a recordset. Is this true? How should I refer to it?
Thanks Todd
Parent For = frmContactList
Child Form = sfrmContactList
Unbound Form = frmLookUp
I want to change the recordset (originally based on qrycontactlist) from the unbound form
Im having problems set a varilabe, stSQL, equal to SQL statement the qrycontactlist was made of. I think this is because the SQL has "" in it. So when I put stSQL = "SELECT Trim([f_name]) & "" the origanl quotation used to make it a String may be interfering with SQL internal "".
Any thoughts?
Once I have that set and I choose a "WHERE" Clasue to add to I want to change the recordset of the subform sfrmContactList. I've tried:
Forms.frmContactList.sfrmStoredStudiesList.Form.RecordSource = strSQL
But dont know if I am referring to it correctly. I believe your supposed to . instead of ! when referring to a recordset. Is this true? How should I refer to it?
Thanks Todd