Gary,
I find if I step through the code in the click method, right after dodefault() it starts on the when of the list button. At that moment focus is on the lookup form and it functions properly, althougn it is extremely slow. Maybe that is a clue?
>Alex:
>
>Phew. You have a bit of a tough one here <s>. I will have a think about this but a thought to be getting on with. You could subclass the list method on the form and try something like.
>
>
>thisform.visible = .F.
>thisform.show(2)
>dodefault()
>thisform.visible = .F.
>thisform.show(1)
>
>
>I don't know whether this would work but its worth playing around with.
>
>-=Gary