I was wondering if I can print different reports depending on a field from a select. The report will be named the same as the field information.
example Sur, Sur1, Sur2. If the select comes back with Sur then I want my print statement to look like this
variable.printout False
Where the variable is equal to Sur .
Instead of the generic
CrystalReport1.PrintOut False
I am having problems with the declaring the variable. I can't get vb to use a variable before the printout statement.
example Sur, Sur1, Sur2. If the select comes back with Sur then I want my print statement to look like this
variable.printout False
Where the variable is equal to Sur .
Instead of the generic
CrystalReport1.PrintOut False
I am having problems with the declaring the variable. I can't get vb to use a variable before the printout statement.