Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JohnDA

    Sage SDO Byte data type

    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)...
  2. JohnDA

    Sage SDO Byte data type

    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 =...
  3. JohnDA

    Sage SDO Byte data type

    Thanks Mike, I'll dust off my VB hat and give it a go John
  4. JohnDA

    Sage SDO Byte data type

    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...
  5. JohnDA

    Sage SDO Byte data type

    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...
  6. JohnDA

    Sage SDO Byte data type

    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...

Part and Inventory Search

Back
Top