Yes you are correct Olaf,
LOCAL oVBS as MSScriptControl.ScriptControl, lcScript
oVBS=CREATEOBJECT('MSScriptControl.ScriptControl')
oVBS.Language="vbscript"
lcScript="function getval(object)"+CHR(13)+"getval = chr(object.value)"+CHR(13)+"end function"+CHR(13)
oVBS.AddCode(lcScript)...
Thanks Mike and Olaf
RESOLVED!!!!
I now have this working with the following code (As crude as it may be)
LOCAL oVBS as MSScriptControl.ScriptControl, lcScript
oVBS=CREATEOBJECT('MSScriptControl.ScriptControl')
oVBS.Language="vbscript"
lcScript="function getval(object)"+CHR(13)+"getval =...
Hi,
Thanks for the advise
have tried:
FOR EACH oField in oInvoice.fields FOXOBJECT
? oField.value
ENDFOR
produces a list of values then it errors when it gets to the byte type field
I've also tried all the properties of the object, but none reveal the value
I guess I'm going to have to...
Hi Mike,
Thanks for the quick response
1. ?VARTYPE(oInvoice.fields.item(24).value) gives the error message 'function, argument, datatype or count invalid'
2. In the watch windows value="expression could not be evaluated" type = <blank>
3. Yes it returns (Object)
All other properties of the...
thread184-741224
Following from the above closed thread.....
I am trying to read from sage dataobjects, I can read back most fields with data type such as string, numberic, logical etc, but any fields with data type 'byte' (As defined by Sage) result in 'function, argument, datatype or count...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.