J
Joao
I am trying to call a function in a module from a form. It will fill some
data in a real ListBox object placed in a from. Using this code:
In Module:
Public FP As Form_Process ' Name of the Form
....
FP.ObjListBox.AddItem rstSQL.Fields(0), VarTemp
....
I got an object required... but if I use:
In Module:
Public FP As Form
....
Set FP = Form_Process
....
FP.ObjListBox.AddItem rstSQL.Fields(0), VarTemp
....
it works, but some code prior written become instable, like variables not
receiving data, etc... anyone????
data in a real ListBox object placed in a from. Using this code:
In Module:
Public FP As Form_Process ' Name of the Form
....
FP.ObjListBox.AddItem rstSQL.Fields(0), VarTemp
....
I got an object required... but if I use:
In Module:
Public FP As Form
....
Set FP = Form_Process
....
FP.ObjListBox.AddItem rstSQL.Fields(0), VarTemp
....
it works, but some code prior written become instable, like variables not
receiving data, etc... anyone????