Is there any way to pass a variable to the sql statement in a .rp2 file? If not, what about stored procedures? Can they help? See sample code below.<BR><BR>Any assistance would be most appreciated.<BR><BR>- Martin<BR><BR>sample code from an ASPR@ file (.rp2)<BR><BR>[Data]<BR>Connection="DSN=hnc.dsn"<BR>Source=SELECT * FROM MajorMgmt &#060;--------<BR><BR><BR>