Hello all,
The problem I am having is with an Autocad Map routine, but I beleive you
may have encountered this elsewhere so I am posting here.
I am using a built in function that uses a boolean to determine if the
routine is successful. The function accepts parameters like this:
Function SetDataCond(kDataType As Long, kOp As Long, bstrTable As
String, bstrField As String, vValue) As Boolean
When debugging, I call the function using literal strings:
IsSuccess = objQLeaf.SetDataCond(kDataIRD, kCondEq, "SECTIONS",
"SECTION", "1s1e10")
and it works great. However, when I attempt to make this more useful for my
eventual application, and try to replace the vValue parameter "1s1e10" with
a variable declared and containing a string like this:
IsSuccess = objQLeaf.SetDataCond(kDataIRD, kCondEq, "SECTIONS",
"SECTION", strSection)
the code errors on this statement and throws an "invalid procedural call or
arguement". The problem seems simple enough, but I have no idea how to
resolve it.
Any help would be greatly appreciated,
Mike