G
Guest
hello,
i'm having a problem to copy values to a report. to be more exactly, i have
one button and when i click i have this sub function:
Private Sub Bok_Click()
Dim a, b, c, d, f
Dim ma, mb, mc, md, mf
a = Me.[Tcodigo].Value
b = Me.[Tmedicamento].Value
c = Me.[Tstock].Value
d = Me.[Tpedido].Value
f = Me.[Tcedido].Value
ma = Report_listagemimpressão.relatoriocodigo = a
mb = Report_listagemimpressão.relatoriomedicamento
mc = Report_listagemimpressão.relatoriostk
md = Report_listagemimpressão.relatorioped
mf = Report_listagemimpressão.relatorioced
ma = a
mb = b
mc = c
md = d
mf = f
End sub
it goes to get the values of the form, but doesn't copy the values to the
report, it show a message error --> Can't find the fiel, control or property
i nmicrosoft office Access.
if you have other way to do this i will aprecciate too.
Any sugestions??
thanks
i'm having a problem to copy values to a report. to be more exactly, i have
one button and when i click i have this sub function:
Private Sub Bok_Click()
Dim a, b, c, d, f
Dim ma, mb, mc, md, mf
a = Me.[Tcodigo].Value
b = Me.[Tmedicamento].Value
c = Me.[Tstock].Value
d = Me.[Tpedido].Value
f = Me.[Tcedido].Value
ma = Report_listagemimpressão.relatoriocodigo = a
mb = Report_listagemimpressão.relatoriomedicamento
mc = Report_listagemimpressão.relatoriostk
md = Report_listagemimpressão.relatorioped
mf = Report_listagemimpressão.relatorioced
ma = a
mb = b
mc = c
md = d
mf = f
End sub
it goes to get the values of the form, but doesn't copy the values to the
report, it show a message error --> Can't find the fiel, control or property
i nmicrosoft office Access.
if you have other way to do this i will aprecciate too.
Any sugestions??
thanks