I have a CR with an SQL statement with an existing where clause. I also want to populate a SelectionFormula to add further criteria from my VB program.
When I put the criteria directly into CR this works, yet when I copy it to VB it gives me an error :
"Error in formula <Record_Selection>
'
'
The remaining text does not appear to be part of the formula.
The VB statement looks like this :
rpt1.SelectionFormula = " {client.client_id} = 1 AND {client.address_id} = 1"
Any ideas, please ?
When I put the criteria directly into CR this works, yet when I copy it to VB it gives me an error :
"Error in formula <Record_Selection>
'
'
The remaining text does not appear to be part of the formula.
The VB statement looks like this :
rpt1.SelectionFormula = " {client.client_id} = 1 AND {client.address_id} = 1"
Any ideas, please ?