Recent content by Mahmad rafi shaik

  1. 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...
  2. 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.
  3. 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
  4. 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...
  5. 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