Hi there. i'm having a problem passing an SQL string in VB to filter data and then display it in a VB Crystal Report. Can 'u help me on this? I really need to know how to implement this.
You're not providing much info. What integration method are you using, are you replacing the entire SQL statement of the report, the WHERE clause, or filling parameters?
If Len(Trim(nbxVeicLmtInf(0).Text)) > 0 Then
If optVeicClienteLI(0).Value = True Then
Operador = ">"
ElseIf optVeicClienteLI(1).Value = True Then
Operador = "="
Else
Operador = "<"
End If
strCLTveic = " and veic_proprietarioID" & Operador & nbxVeicLmtInf(0).Text
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.