Problem changing RecordSource property on a Data Access Page (1 Viewer)

L

LarryLaffer

Guest
Greetings,

I am trying to change the RecordSource property of a Data Access Page using code. I am getting the error, 'Unknown Object'

The error occurs at this statement.

AP.GroupLevels(GroupHeader).RecordSource = AccessPageName

AccessPageName is the name of a valid query type recordset.

Any suggestions or am I going about changing the RecordSource the wrong way?

Thanks!

jon
 

Users who are viewing this thread

Top Bottom