Hi Dave,
Try using the following (replacing LEADID with the id of the record you wish to display).
Application.MainViews.AddEx "System:Lead Details", 1, True, 1, LEADID, ""
This should open the Lead Details form (providing you are using the OOTB one) for the given ID. The true value states that an existing view will be used if one is available.
Let me know if this does the trick.
Regards,
Lee |