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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change data source Report from vba

Status
Not open for further replies.

sauxs

Programmer
Apr 10, 2002
1
IT
I must change data source report from vba on onload function.

Sorry for my English...

thanks
 
Do you mean Record Source? In that case:

Private Sub Report_Open(Cancel As Integer)
Me.RecordSource = "select ...."
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top