Question : controling the source for a subform

Hi,
I have a form with a button and a subform.  The app is editting an input file and will run about twenty queries.  All should return null, but the first one that doesn't needs to present its reults to the subform.  The columns in all of the queries are different.

It seem this should be simple, but I have not gotten it to work.

Me.Child27.SourceObject = "my query"

Child27 is the subform and "my query" is a MS Acces query.

The error message is that access could not find the object.

Thanks,
Greg


Answer : controling the source for a subform

Try this ... works for me.

Me.Child27.SourceObject = "query.my query"

mx
Random Solutions  
 
programming4us programming4us