Search results

  1. W

    Question Class use statistics

    Good afternoon progress people! So I know that progress has run statistics for procedures via -y startup parameter. Is there anything like this for classes? Thanks!
  2. W

    Answered Dynamically adding labels and fields to appbuilder screen

    I'm working on it! Thanks guys! You have been a huge help.
  3. W

    Answered Dynamically adding labels and fields to appbuilder screen

    There is just other information I needed that I needed as well. Mostly stuff from the original table that I used to build the fields from in the first place.
  4. W

    Answered Dynamically adding labels and fields to appbuilder screen

    Not to mention, I can toss more information, such as value, into it and pass the whole thing around, since these values will eventually need to be passed to a print routine that needs other information.
  5. W

    Answered Dynamically adding labels and fields to appbuilder screen

    Ohy, why didn't I think of that?!?! This project has run me over, reversed, run me over again, in drive and ready to run me over again.
  6. W

    Answered Dynamically adding labels and fields to appbuilder screen

    Okay, so now I have another question related to this same topic. How would one best store the handles for the new dynamic widgets? I need to be able to access them later in other code besides just flipping through all of the widgets. ****nevermind I think I just figured it out**** I can save...
  7. W

    Answered Dynamically adding labels and fields to appbuilder screen

    Strangely, I was getting no errors at all. Now I was only running that code within the whole of my program, never as stand alone. There quite possibly is code elsewhere in the program that is suppressing the errors. Again thanks everyone for your help.
  8. W

    Answered Dynamically adding labels and fields to appbuilder screen

    One last question for you then. Where were you seeing an error? Just for future knowledge if I run into something like this again.
  9. W

    Answered Dynamically adding labels and fields to appbuilder screen

    Well don't I feel stupid now! Thank you so much!! That fixed it and now it looks exactly as I expected.
  10. W

    Answered Dynamically adding labels and fields to appbuilder screen

    And to your comment, TheMadDBA, height and width on the widget itself looks just fine.
  11. W

    Answered Dynamically adding labels and fields to appbuilder screen

    That I can do Cringer! Also using 11.5 The udn table has the following schema: notice as int sequence as int descr as char type as int req as log val-desc as char FOR EACH udn NO-LOCK WHERE udn.notice = 1 BREAK BY udn.notice BY udn.sequence: IF...
  12. W

    Answered Dynamically adding labels and fields to appbuilder screen

    Ok so this got me much closer to my goal, but it isn't functioning like I would like. Of course the first field I am trying to create is an amount field with thousands separators and decimal point. If I try to set the format to be "zzz,zzz,zz9.99" then the field on the screen ends up looking...
  13. W

    Answered Dynamically adding labels and fields to appbuilder screen

    Good afternoon all! I am currently working with an older .w appbuilder screen and have been tasked with adding labels and fields to this screen based on values in a table. Essentially the table contains a label and a format. There is more information but it isn't pertinent to the question. So I...
  14. W

    Question ABL Unit Database connection

    Thanks Cringer, I'll post it there too.
  15. W

    Question ABL Unit Database connection

    Good afternoon, So I've recently discovered the ABLUnit and trying to build some tests. I am trying to load a database table but I keep getting an error when running using the ABL Unit Application. The error is unknown database name xx. (855). Now I have also tried running the test class via a...
  16. W

    Question Pulling table data into a class

    What would you recommend then?
  17. W

    Question Pulling table data into a class

    What if I change up the question a bit? What if instead I define a temp-table in one class and then say I want to access that temp-table directly from another class. As if the temp-table itself was a property of the class? It would look something like this: DEFINE l-test AS SomeClass...
  18. W

    Question Pulling table data into a class

    Ok so maybe I'm confusing everyone including myself. The goal of this all is to get the contents of the table from the database out to my front end, which is entirely written in OO classes. I recall there is some issue with defining temp-tables in a class, as a result all of our previous...
  19. W

    Question Pulling table data into a class

    That is exactly what I'm going for. I'd like to create an instance for every record, but I'm having trouble figuring out how to dynamically store them as I wont know how many I will need.
  20. W

    Question Pulling table data into a class

    Ok let me see if I can more accurately describe what I'm going for. First let's define a table from the database: tableTest field1 int field2 char field3 char field4 char next lets define a class: <code> CLASS testData: DEFINE PUBLIC PROPERTY Field1 AS INTEGER NO-UNDO GET. SET...
Top