Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reference Recordsource subform Access 2007

Status
Not open for further replies.

matrixindicator

IS-IT--Management
Sep 6, 2007
418
BE
Don't know why Access is complaining to about the RecordSource Reference. It works fine in Access 2000 but transfering it to Access 2007 he is complaining. What to do about it ?

Code:
Forms!F01_ORDER![FS_T02_ORDER].Form.RecordSource = "QS_T02_ORDER"
 
try this

Forms!frmMaster.Form!frmSub1.Form.RecordSource =
 
Sorry KiaruB that is incorrect. The only way to reference a subform is through the subform control's form property. At best
Forms!frmMaster.frmSub1.Form.RecordSource
not
Forms!frmMaster.Form!frmSub1.Form.RecordSource

forms!formsCollectionIndex.subFormControlName.Form
 



FYI matrixindicator,

MS Access questions are better addressed in one of the many MS Access forums in Tek-Tips, such as...

Forum702
Forum705

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top