DAO and Data Report 6
Posted on 1999-07-11
I am trying to figure out the Data Report 6 in VB6. I have an app that uses DAO to handle data acquisition and modification. I want to be able to print reports based upon a SQL statement that is determined at runtime and am having no little confusion in figuring out how to pass a SQL statement as the datasource with Data Reports 6. Could someone please tell me what code is necessary to set at runtime and where it should be placed? I know I need the Data environment first and then the data report. I'm assuming the Data Environment is where the SQL is passed, but how?