I’m using two forms one is customer file maintenance (Custfm) and the other is case list (Casefm). When the two forms are active and the user scrolls through the customer screen, I would like to update the list of the client’s cases. So I’m using the following codes in my custfm form to refresh the case list:
if wexist("casefm")
casefm.activate() <== Error line
endif
During development time it works fine, when I have just two forms open. But when using .exe “Object casefm not found.” Why does wexist see it, but not the next line. What I’m doing wrong.
Thanks
Mike Azar