Search results

  1. M

    Question how to display browser fields dynamically

    Thank you Osborne, I will go through the article.
  2. M

    Question how to display browser fields dynamically

    I'm displaying temp-table fields in a browser using free form query. i have 10 fields in my temp table but i want to hide and show some fields based on a condition i have tried this below code on row display of browse trigger , but i'm getting the error as you can see in the picture. DO...
  3. M

    Question How to add fields to a temp table by using its handle (it can be either temp-table:handle or temp-table:default-buffer-handle)

    -this is the method in my class -either i can get temp-table:handle or temp-table:default-buffer-handle -is it possible to create field in both cases if not how do i can approach in other way METHOD PUBLIC VOID loadFilesFromDir(INPUT cipDir AS CHARACTER , INPUT iphbufhandle AS...
  4. M

    Question How do i know its a valid directory and how i can know the handle belongs to a temp table

    Thank you @Osborne , got what I want. I will go and try thank you.
  5. M

    Question How do i know its a valid directory and how i can know the handle belongs to a temp table

    Thank you patrice perrot for your time and response. And what about 2,3 and 4 points
  6. M

    Question How do i know its a valid directory and how i can know the handle belongs to a temp table

    METHOD PUBLIC VOID loadFilesFromDir(INPUT cipDir AS CHARACTER , INPUT iphbufhandle AS HANDLE ): DEFINE VARIABLE cFile AS CHARACTER NO-UNDO. DEFINE VARIABLE cFilePath AS CHARACTER NO-UNDO. DEFINE VARIABLE cFormat AS CHARACTER NO-UNDO. INPUT...
  7. M

    How to add catch block in the for each and when the error is encountered i want to move to the next record

    i have tried this DO ON ERROR UNDO , THROW: FOR EACH ttFileData NO-LOCK: CREATE ttCustomerDetails. ASSIGN ttCustomerDetails.ttcustmId = INTEGER (ENTRY(2 , ttFileData.ttLine))...
Top