
Passing a Parameter its works and it doesn't work
Hi Paul...thank u
took out the space but it doesn't work....i'm passing a string...the
parameter i'm actually taking straight from the testbox object...
Louie
Quote:
>Hi Luigi, what type of value are you trying to pass? Is it a number or a
>string parameter? Try taking the space out after the first semi-colon..
>HTH, Paul
Hi
I'm using cr7, vb6, a2K (Acess 2000)
On the developing machine....i pass parameters and it works fine....
I installed the application on the users machine my parameters didn't
work....
What i tried is to open just the report without passing any parameters
on the users machine...that worked fine
here is my code:
Private Sub cmdClProd_Click()
Dim stTSA As String
'This is the parameter i'm passing its a string
stTSA = txtClientInfo(12).Text
rpt.ReportFileName = "C:\Program Files\report.rpt
rpt.DiscardSavedData = False
rpt.ParameterFields(0) = "NoClient; " & stTSA & "; true"
rpt.PrintReport
End Sub
Could any one help me on this