Calling ObjectMethod from ObjMethod

ObjectMethod is one of the methods that can be called from ObjMethod.

ObjectMethod is specified as the Method argument. This is a generic method that can perform any of several specific methods depending on the object on which ObjectMethod is applied.

When you use ObjMethod to call ObjectMethod, you must have these entries as the Parameter arguments:

  • The name of the method to run, such as: Calc or ClearResults
  • Arguments for that particular method.

Examples


Dim oResults As DataSet = ObjMethod("", "", "ObjectMethod", "CLEARRESULTS", Nothing)
Dim oScale As Object = ObjMethod("", "", "ObjectMethod", "Scale", 
"newyield=50;newuom=GM;rsmode=1”)