>Hello all,
>
> How do I tell a form which commandbutton on another form called it?
>
>Thanks
I handle it this way.
Define a custom method on the primary BizObj named CallNextForm
In the Click event of each button that calls the next form:
ThisForm.oBizObj.CallNextForm("cButtonName")
In the CallNextForm method:
Parameters tButtonName
DoForm("cNextFormName",tButtonName)
IN the INIT of the called form:
Parameters tButtonName
HTH,
Bob Kocher
www.swfox.netStart making your plans now to attend Southwest Fox 2006