Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Microsoft Access > How to change t...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 30464 of 31576
Post > Topic >>

How to change the RecordSource in a SubRe****t

by "Simon" <SvanBeekNL@[EMAIL PROTECTED] > Jun 5, 2008 at 11:57 PM

Dear reader,



The syntax for the VBA code to change the RecordSource of a Master Re****t
is:



            Me.RecordSource = "TableOrQueryName"



But now the syntax to change the RecordSource of a SubRe****t:

I think it has to be something like this:



            Re****ts.MasterRe****tName.SubRe****tName.RecordSource =
"TableOrQueryName"



But this is not working.

Is there a working syntax for this?



Tanks for any help.

Kind regards,

Simon
 




 4 Posts in Topic:
How to change the RecordSource in a SubReport
"Simon" <Sva  2008-06-05 23:57:59 
Re: How to change the RecordSource in a SubReport
"Larry Linson"   2008-06-05 22:30:52 
Re: How to change the RecordSource in a SubReport
"Simon" <Sva  2008-06-06 06:50:46 
Re: How to change the RecordSource in a SubReport
"Larry Linson"   2008-06-07 05:18:58 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Dec 2 23:02:41 CST 2008.