Search results

  1. K

    Read-in XML

    Hi Marian they defined a schema, but it doesnt seems to work. already used bproxsdto4gl / xsdto4gl command. Already defined schema location, but always I'm getting errors like: "Temp-Table 'OrderReport' not found in XML Schema. (13138)" "Unable to parse schema for element 'AmazonOrderID'...
  2. K

    Read-in XML

    ASSIGN chInputfile = tt-files.tt-full + "temp" chReadmode = "EMPTY" chSchemaLocation = ? loOverridedefaultmapping = TRUE chFieldtypemapping = ? /*"email,CHAR"*/ chVerifyschemamode = ...
  3. K

    Read-in XML

    Hi all I've got a problem with reading in XML files into our system. We use progress v10.1A, and I use the XML-Read in function. Everything seems to work, but there is one problem. I'll try to explain in with an example: <test> <a>12345</a> <b>aaaaa</b> <c>a1b2c3</c> </test> in this...
  4. K

    Check if another user has changed data

    Hi all I've got a question about datasets. I'll try to explain it with an example: you start a program, you get temp-table X with a field A which contains value 3. you update field A in your program to value 5. the before temp-table has field A with value 3 the temp-table has field B with...
  5. K

    state-reset appserver and database

    I'll try to explain: We have a couple of appservers which connect to databases. all the appservers are stateless appservers, and the database which is connected to it is one of the appserver parameters. at the end of each month, a end-of-period database is created and a couple of reports ( =...
  6. K

    state-reset appserver and database

    Hello, hopefully someone can help me with this issue. in our company, all our appservers are stateless appservers. these appservers have databases with a fixed name, so the database are connected from the moment we connect to the appserver. We also have databases with fixed names, like year...
  7. K

    Classes

    @RealHeavyDude: We'll not use classes just for using them. It's a first step to OO programming. We will be start by grouping our parameters (which appear in serveral reports) in classes, so we can use the class as parameter instead of a lot of input parameters. you've to start with something...
  8. K

    Classes

    thanks oriol. So the only thing I need to do is to make sure my class files are in my propath, and then I can call that object from anywhere on the way you showed me?
  9. K

    Classes

    Hi all I'm trying to start using classes in our application. Currently we're working with version 10.1A. I've created my class, but how should I use this class in my applications? I've tried to use it as an include file, but that doesn't work. any help would be appreciated
  10. K

    Appserver

    Procedures/Functions Hi everyone I've got a question for you all. In the company i'm working, we have several super procedures with a lot of procedures and functions. We tried to group our procedures/functions as good as we can. (i.e. a super procedure with proc/func about articles, a super...
  11. K

    Internal Procedures / Functions

    Hi all, i'm building a program where the user has to select a super-procedure file. All the procedures and functions are showed in a browse. Now I want to see the actual code of the selected procedure/function. Anyone knows a method or something to do this? To get all procedures and...
  12. K

    Checking Procedures

    Hello everyone does anyone has a procedure / program to check all unused procedures in different super procedure files, or isn't it possible? all .w files are in the propath. thanks in advance
  13. K

    Get all procedures

    Thx GregTomkins. Now I have the procedures stored in a list, with the input and output parameters. Is there a way to extract information thats placed in comments in the header (notes, purpose) ?
  14. K

    Get all procedures

    Hi everony, there are running several structured procedures on the appserver as super-procedure. Now I need to find a way to get all the names of the procedures that are in the super-procedures files who are running on the appserver. hopefully someone can help.
  15. K

    Rearranging the TAB orders of widgets.

    Show me your code please
  16. K

    Rearranging the TAB orders of widgets.

    Use the MOVE-AFTER-TAB-ITEM and the MOVE-BEFORE-TAB-ITEM functions to do this. hFillin1:MOVE-AFTER-TAB-ITEM(hFillin2).
  17. K

    automated compiling

    Hi Krism, it isn't possible. but there are other ways to achieve it. The source code for the _comp.p procedure and other Progress Application Compiler related files is not included in the media distributed by Progress. However, these are available from PSDN Code Share for download as part of...
  18. K

    Can you save an Excel spreadsheet opened within Progress as a .csv?

    hi Rip73, change following lines: - assign xSaveAsName = "c:testcsv.csv". --> "c:\testcsv.csv". - chWorkbook:SaveAs(xSaveAsName,6,,,,,,,TRUE) --> chExcel:ActiveSheet:SaveAs(xSaveAsName,6,,,,,,,TRUE). and don't forget to close excel. add following line: chWorkBook:close. chExcel:close.
  19. K

    converting days to year, month and days

    Hi shivakumarpatil, I need to convert 1978 days into years, month and days. can you some more information please? What's the output you want, ...
  20. K

    ADM2 smart objects

    Information about ADM2: http://communities.progress.com/pcom/search.jspa?resultTypes=BLOG_POST&resultTypes=DOCUMENT&resultTypes=MESSAGE&resultTypes=BLOG&resultTypes=COMMUNITY&resultTypes=TASK&resultTypes=PROJECT&resultTypes=SOCIAL_GROUP&resultTypes=COMMENT&peopleEnabled=true&q=adm2
Top