Recent content by PhilW

  1. PhilW

    Populating Temp-Tables

    you can do a loop with entry(x,var) etc and create a new temp table rec for each iteration. def var v-data as char no-undo init '1,one:2,two:3,three'. def var v-fdata as char no-undo. def var x as int no-undo. do x = 1 to num-entries(v-data,':'): v-fdata = entry(x,v-data,':'). create...
  2. PhilW

    Populating Temp-Tables

    ha tom beat me to it!
  3. PhilW

    Populating Temp-Tables

    put the static data in a delimited txt file and load it up using something like the code below. def stream ip. def var v-reccnt as int no-undo. def var v-data as char no-undo. input stream ip from value(yourfilename here.txt) no-echo. repeat: v-reccnt = v-reccnt + 1. import stream...
  4. PhilW

    Question Send a variant parameter to com object

    hi oli thanks for the interest but yes i have seen that it doesnt deal wilth variants only straight call to OO, im actually thr same Philw as mentioned in Adisneys post, i wrote an interfac for her to trap the OO events as it does do it correctly and so progress cant see them. just trying to get...
  5. PhilW

    Question Send a variant parameter to com object

    try ing to automate OpenOffice(libreOffice) and it requires as a parameter that is an array of type variant! Great !! no such animal in progress. i can create and the array with the necessary info in it as a com handle, but when its sent i get an error from libraoffice of cannot convert data...
Top