DumontDSO::IDumontDSO Interface Reference

Dumont Multi-Day Editor. More...

import "IDumontDSO.idl";

List of all members.

Public Member Functions

HRESULT __stdcall trac ([in] BSTR v_file,[in] BSTR v_line,[in] BSTR v_msg)

Properties

BSTR GetVar ([in] BSTR v_var,[in] BSTR v_field) [get]
 Get a VAR field from a large text field.
BSTR SetVar ([in] BSTR v_var,[in] BSTR v_field,[in] BSTR v_val) [get]
 Set a VAR field into a large text field.
BSTR DelVar ([in] BSTR v_var,[in] BSTR v_field) [get]
 Delete a VAR field from a large text field.
IDumontDataSet OpenDataSet ([in] BSTR catName) [get]
IDumontDataSetChange OpenDataSetChange ([in] BSTR catName) [get]
IDumontDataSetCalendar OpenDataSetCalendar ([in] BSTR catName) [get]
int tracLevel [set]
 Add a message to the trace log.


Detailed Description

Dumont Multi-Day Editor.

Dumont DataSetObject Root Interface This is the interface to the IDumontDataSetObject interface. This is the root class where other interfaces can be requested. This interface also includes some general helper routines like GetVar and SetVar to aid in vbScript coding.

Definition at line 799 of file IDumontDSO.idl.


Member Function Documentation

HRESULT __stdcall DumontDSO::IDumontDSO::trac ( [in] BSTR  v_file,
[in] BSTR  v_line,
[in] BSTR  v_msg 
)


Property Documentation

BSTR DumontDSO::IDumontDSO::DelVar([in] BSTR v_var, [in] BSTR v_field) [get]

Delete a VAR field from a large text field.

Parameters:
[in] v_var The large-text field
[in] v_field The target field
[out] v_newValue The result string pointer
This function deletes a VAR value from a large text field. See GetVar for details on this operation.

See also:
GetVar, SetVar

BSTR DumontDSO::IDumontDSO::GetVar([in] BSTR v_var, [in] BSTR v_field) [get]

Get a VAR field from a large text field.

Parameters:
[in] v_var The large-text field
[in] v_field The target field
[out] v_val The result string pointer
This function pulls a VAR type of field (for lack of a better name) from what could be considered a large text field. The text field is a multi-line text string. Each VAR line is seperated by a \r\n (vbCrLf) series of characters. Individual VAR/VAL tokens are seperated by = (equal) signs. For instance, a series of VAR values might appear in a standard text field as follows:

 typicalVarField:
  cmcID=2:80007701:88CCE804
  createdOn=20070110083313
  createdBy=MWP:7:80006401:000026F7
  changedOn=20070110083313
  changedBy=MWP:7:80006401:000026F7

To pull a value from the above field, you can execute the following code in vbScript

 dim dumDSO: set dumDSO = createObject("DumontSDK.DSO")
 msgbox dumDSO.GetVar(Field("BigTextField").Value, "createdBy")
  result would be: "MWP:7:80006401:000026F7"

See also:
SetVar, DelVar

IDumontDataSet DumontDSO::IDumontDSO::OpenDataSet([in] BSTR catName) [get]

IDumontDataSetCalendar DumontDSO::IDumontDSO::OpenDataSetCalendar([in] BSTR catName) [get]

IDumontDataSetChange DumontDSO::IDumontDSO::OpenDataSetChange([in] BSTR catName) [get]

BSTR DumontDSO::IDumontDSO::SetVar([in] BSTR v_var, [in] BSTR v_field, [in] BSTR v_val) [get]

Set a VAR field into a large text field.

Parameters:
[in] v_var The large-text field
[in] v_field The target field
[in] v_val The value to set in the field
[out] v_newValue The result string pointer
This function sets a VAR value into a large text field. See GetVar for details on this operation.

See also:
GetVar, DelVar

int DumontDSO::IDumontDSO::tracLevel [set]

Add a message to the trace log.

This method allows the vbScript program to insert a message into the trace log.


The documentation for this interface was generated from the following file:




~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com