I can do this with something like this:
Sub CStr(oVal As String) As String
This is fine if oVal has a string assigned to it, eg: oVal = "abc"
However, this won't work if oVal has nil assigned to it, so for example:
Dim o As Object
I am using Map (MainMap) on each line for CustomListView1 within the THSLT module. But I need to access CustomListView1 and Map (MainMap) content from the other module (ODM). As I read and understand in the forum, there is no direct access to the object. I hope the following example shows my...
I have that sub to try to make some actions regarding of the view object type :
Sub TrtObject(Obj As Object)
Dim Lbl As Label
Dim Btn As Button
Dim Lv As ListView
Dim Clv As CustomListView
If GetType(Obj) = "Label" Then
pls look at the following code
dim map1 as map
dim s as string
dim o as object
s = map1.get(1) ' s = null
o = map1.Get(1) 'o = null
If s<> Null Then
Log("s is not null")
I have been using the 'Dim row(3) As Object' notation for a while with tableviews record addition. So I decided to try to use a list instead.
Dim row as List
of rather row.AddAll(array as...
I'm using the jDRC2 module and would like to write a text file with all the sql commands and the data processed. but how do I extract the data from the cmd.Parameters object to text fields separated with ",".
I tried dumping into the log to see what it looked like and got this: