>The business object ahs a getfielddata method that accepts a field name and returns the field's value. The RefreshData method fo the form or container or whatever does;
>
> THIS.Text1.Value = THIS.oBuzObj.GetFieldData("Customer.Name")
> THIS.Text2.Value = THIS.oBusObj.GetFieldData("Customer.CreditLimit")
>
>The writeData method of the form et al;
>
> THIS.oBusObj.WriteFieldData("Customer.Name",THIS.Text1.Value)
> THIS.oBusObj.WriteFieldData("Customer.CreditLimit",THIS.Text2.Value)
>
>The the save method of the form does;
>
> IF NOT THIS.oBusObj.SaveData()
> Messagebox("Sorry the update failed",0,"Update Failure")
> ENDIF
>
>The form has no tables or views open, mainly because I can't depend that any frontend might be capable of using tables or views, but they can all call a method of the busobj and get the return value back.
Jim.
Extremely fascinating discussion. In using this sort of N-tier design, how do you package the busobjs: each as a separate OLE DLL or group as one DLL? In your experience, how is the overhead if any? Finally, what impact do you anticipate with upcoming Tahoe and support for MTS?
John.
It's "my" world. You're just living in it.