
Affecting controls on a form from another modal form
I am trying to pass a value from one form to another to update a
listbox on the form not in focus. But even after I watch it move
through my code nothing happens. I am doing something wrong but have
no idea what it is. Any help? This has to be simple...
it goes something along these lines:
'This code is on frmModal
xferVar = "value to be added to listbox"
if var = 1 then
frmMain.listbox1.additem (xferVar)
end if
The listbox on frmMain stays empty. please help!
thanks in advance!
brrman
Sent via Deja.com http://www.*-*-*.com/
Before you buy.