Search results

  1. jmac13

    running a persistents main block

    cheers I'll give that a go
  2. jmac13

    running a persistents main block

    I'm being dense... it does that as soon as you assign it to the handle doesnt it...?
  3. jmac13

    running a persistents main block

    Hi All, I'm using open edge 10.2b. if i make a program persistent how do i then just run the program rather than picking a procedure to run within that program? I.E. just running the main block or doing the same as you would if you did: run gui_utils/RecordUsage.p. /*normal*/ run...
  4. jmac13

    Stop VB.Net application when i close Progress System...

    have a look at taskkill.. http://www.computerhope.com/taskkill.htm
  5. jmac13

    transactions/releasing records

    yeah i agree RHD... looks like the transaction is in the main block... anyway not to include the triggers for the buttons or iam just stuck with it..seems the transaction is used for stuff.. great idea by someone
  6. jmac13

    transactions/releasing records

    yeah that could be it.. once again not my code just working with what ive got:P but yeah if i start using transaction I'll make sure i check my scope
  7. jmac13

    transactions/releasing records

    yeah i thought as much..just not quite sure why my button choose trigger is in a transaction.. got to admit im not very hot on transactions.. I guess have to try and work out why its in a transaction.. not very clear in a .p
  8. jmac13

    transactions/releasing records

    Hi All I'm using open edge 10.2b I'm running a procedure within a trigger for a button which is in a .p. this procedure runs the following: procedure logAttempts: /* assigns the number of attempts to logon as user*/ do transaction: define input parameter ipintAttempts as integer no-undo...
  9. jmac13

    Column width in dynamic browser

    the help says the format is for the cells.. so not sure it will work on coulmns... you could try setting the format using the coulmn:buffer-field:format = "x(30)"
  10. jmac13

    Column width in dynamic browser

    its not a gobal thing as far as i know... each coulmn (when you've got some will need the width setting) unless there is att to set the default column size.. assign hbrCol = BRDetail:first-column in frame fmain. repeat: hbrCol:width = intLength. assign hbrCol = hbrCol:next-column...
  11. jmac13

    Column width in dynamic browser

    its not a gobal thing as far as i know... each coulmn (when you've got some will need the width setting)assign hbrCol = BRDetail:first-column in frame fmain. repeat:
  12. jmac13

    passing a browse object

    just to update ppl What I've done so far (its still in the testing stage) is to pass the browse object and i can get all the info i need from that. I can get the data thats in the browse by going round the query in the browse object and using the column Buffer-fields to get the data to populate...
  13. jmac13

    Counting month diff

    try this not sure if will do what you want but its one ive had for a while /*---------------------------------------------------------------------- ------ Name : MonthDiff Desc : Calculate the difference between 2 dates as months and days...
  14. jmac13

    Day Count

    do you mean that within a year there are N number of days that are 23rd?
  15. jmac13

    passing a browse object

    cheers cringer I'll see what i can come up with
  16. jmac13

    passing a browse object

    Yeah its a static Browse RHD, I know if i pass the browse handle i can go through the query just dont know how to point at the table/data to get the data. Is it a matter of just passing the handle of table that is used in the browse? is this ok if its a static table or a temp table?
  17. jmac13

    passing a browse object

    Hi All, I'm using open edge 10.2b. We currently send information to excel to printout in a the form of a CSV and excel then imports. We build up this csv by doing the following: whHeaderBuffer = buffer {&browse-table}:handle. get first {&browse-name}...
  18. jmac13

    Run .exe programs from openedge

    Might also find the below code useful the example runs a web browser via a link. But should be able to find lots on EXTERNAL "shell32 PROCEDURE ShellExecuteA EXTERNAL "shell32" : /*when ran opens default web browser*/ define input parameter hwnd as long. define input parameter...
  19. jmac13

    how to run a function in a persistent procedure

    well yes i agree with what ur saying.. but it also works on the flip side... If wish to change how the function is calculating something then I don’t have to change all the programs. Where I work its very much a manual process to go round all these programs with the .i files in which is a pain...
  20. jmac13

    how to run a function in a persistent procedure

    Well I'd say i wouldnt be able to use the procedure if there was a compile error... and yes include files have their uses its just i dont find them that good they can make whats happening in the code unclear as its off in a .i somewhere and if you change the .i you have to then recompile all the...
Back
Top