Performs an output conversion on the specified data.
sValue = object.brOconv( sVal, sConv)
Parameter | Description |
---|---|
sValue | The return value is a String data type that is the converted string. |
object | An object variable that represents a clsD3Connection object. |
sVal | A String to be converted. |
sConv | The String specifying the processing code to be used in the conversion. |
Using an RPC connection, some conversion codes are implemented on the client and some on the server.
Using an ODBC connection, the conversion is implemented on the server.
This method converts a value from its internal format to its external equivalent.
Sub Main() Dim oEnv As New clsD3Environment Dim oConn As clsD3Connection Dim lPickDate As Long Dim sDate As String Set oConn = oEnv.brOpenConnection("ODBC", "production") lPickDate = oConn.brDate sDate = oConn.brOconv(CStr(lPickDate), "d2/") MsgBox "Today's date is " & sDate oEnv.brCloseConnection oConn Set oEnv = Nothing End Sub
oconv