pro_vb thread: Parameter lost at the way....
I am working in vb6.0 and VfoxPro6.0 for B.D., When i Try to make a Report
using DataReport, and my sql has a paremter (Adstr), on my command1 of cour
se, my host type as string. In the results don't see nothing......
I send the code:
********************************
Private Sub cmdimprimir_Click()
Dim x As String
Dim sq As String
Dim adoe As ADODB.Recordset
Dim y As Integer
x =3D (txtrelalab.Text)
BD.Command1 (x)
de.Sections("secci=F3n4").Controls("fecha").Caption =3D Date
de.Sections("secci=F3n4").Controls("apellpat").Caption =3D Trim$(txtapellpa
t.Text)
de.Sections("secci=F3n4").Controls("apellmat").Caption =3D Trim$(txtapellma
t.Text)
de.Sections("secci=F3n4").Controls("nombres").Caption =3D Trim$(txtnombres.
Text)
de.ReportWidth =3D 9000
de.Orientation =3D rptOrientPortrait
de.Show
de.PrintReport True, rptRangeAllPages
de.Refresh
de.LeftMargin =3D 50
BD.rsCommand1.Close
End Sub