>Perhaps I should have been more specific with my question...
>
>I'd like to see sample code for the following:
>
>You have two tables tTableA, tTableB. Add a new record to each one.
>
>Thanks....
OK, the general rule is that each updateable table should be in it's own bizobj. Most methods of the bizobj (including new) will only impact the initially selected alias (ISA)of the bizobj. The most important of the methods being SAVE. By default, the ISA is the first view added to the bizobj. Other than that you have to mess around with changing the ISA. Each updateable table should have it's own bizobj. This way you can assign business rules to each one and have code to set default values etc. in the onnew method for example.
The code would be -
lo = CREATEOBJ("bizobja")
lo.new()
Dan