Hi,

I have done this in VB6 but can't find the syntax in VS 2003. I have a form (choice form) that has two buttons that both open another form (a search form). One button is supposed to open a basic search and the other is supposed to open a flash search.

I can't find a simple way to determine which button I've pressed on the other form. I am guessing it's hiding somewhere in the sender event but I just can't get to it.

My other option is to use a hidden label on the "choice" form that has text saying which is clicked but I can't figure out how to access the value of the hidden label once I am on the second "search" form.

Can anyone help me with these tasks?

Thanks,
Andrew