This is how I've done it if anyone's interested.....
I have a function in the db called 'printReports' which is where the report is run, it takes three parameters, string dbfFileName, string dbfFilePath and string roundListName.
Code:
object accessObject = null;
object[] Parameters;
string dbfFilePath = Path.GetDirectoryName(sf.Filename);
Leave a comment: