Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

True or false. If false, then program execution returns to the calling procedure. If true, then event processing goes to the next level.

See also

XOInstance()DSMethod (DS_ADDREF$)

Remarks

The DSOINSTANCE event allows you to supply a DataSet instance programmatically. For example, if you create a DataSet that contains look-up information, like code tables, and you store the DataSet handle globally so multiple forms can use it, you can supply that DataSet to a form in the DSOINSTANCE event. Since an additional form will be using the DataSet, you must increment the reference count for the DataSet using the DSMethod DS_ADDRESS$ or the DataSet will be destroyed when the form is destroyed. If you supply the DataSet, then return 0 from the event handler.