Hi Bonnie
I note somewhere in my deluge of recent reading something about a difference between .Net and VFP that if a VFP.Init() returns .F., it stops the form being instantiated? So in my mostly ignorant state with .Net, if this is a data selection form and I'm calling the business object to Getdata() in the form Load(), but it returns none, can I stop a blank form being displayed? It seems a waste of resources to have to paint a form, then get no data, display a messagebox, then destroy the form etc.
I hope you get what I'm trying to ask...
Simon