Syntax Logic

To work out how you should structure your syntax the logic is as follows. First you choose the table you want to work with. Say for instance, as in our example this is the Customer table. From our object model in the previous section we know that the object relating to this table is the "oCustomers" object. Hence this is the object we use for our operations. So our method call will start with ;

loITRDS.oCustomers

Next we just add the method we want to the end. Hence if we are loading a customer record the syntax is

loITRDS.oCustomers.Load()

If we were loading a work order record we would use the oWorkOrders object and hence;

loITRDS.oWorkOrders.Load()

and so on.

Thus the logic is, pick the object that relates to the table you want and then add the method to the end of it.


Last Updated: 19/05/2004