>Hi
>
>Very simple question - I normally refresh forms with thisform.refresh but the form I need to refresh is not the form that has focus
>
>Its name is mani
>
>mani.refresh doesn't work - what is the correct syntax?
>
>Thanks
>
>Colin
Colin,
Is mani object reference name or just form's name ?
You need the object reference.
If mani is a single unique name among all forms on screen then you might find out its obhject reference traversing _screen.forms collection. ie:
(roughly)
for ix=1 to _screen.forms.count
if lower(_screen.forms[ix].name) = "mani"
oMani = _screen.forms[ix]
exit
endif
endfor
oMani.refresh
Cetin