Hi,
>So, AFAIU, the best way to do is create object of my class inside Form.Load and reference to it using memory (i.e. m.oSQL.exec)?
If you assign the reference to a memory variable, the object would only be available in the Load method. Objects you need during the initialization of the form, you have to create it in the Load event. Either use CREATEOBJECT() as Mike suggested, or use AddObject:
Thisform.AddObject("SQL","MySQlClass")
THisform.SQl.Exec(...)
--
Christof