Search results

  1. O

    Open Net Window from ABL

    I don't know if a class name can be dynamic especially .NET classes, but it is possible to dynamically instantiate classes and methods which may solve what you are looking to do. Have a look at these articles:
  2. O

    Open Net Window from ABL

    Is this the code you are looking for?: Or do you want to embed an ABL window into a .NET form? If so, then take a look at these articles:
  3. O

    Unable to Display Dynamic Object Names

    No, unfortunately not. In all these years I have never had to account for PSEUDO-WIDGET. The only thing I can think of maybe trying is PRIVATE-DATA but probably doubt you can set that or it is not available for what is effectively a system handle.
  4. O

    Unable to Display Dynamic Object Names

    I think this could well be the case. The documentation for PSEUDO-WIDGET seems to be none existent. As a rule a PSEUDO-WIDGET is a system handle (SESSION or CLIPBOARD or ABL status or system object), and may explain why it does not have a name. If so, then there may be no way to retrieve any...
  5. O

    Unable to Display Dynamic Object Names

    According to the manual the NAME attribute is available for FRAME, TEXT and FIELD-GROUP but not PSEUDO-WIDGET: If for FRAME, TEXT and FIELD-GROUP you set using code does that work?: Handle-name: NAME = "ObjectName".
  6. O

    Display images in Browse

    Would it be this thread?: I am not sure if it is still available on Progress Communities, and if not think the files attached are the ones.
  7. O

    Load Assemblies

    Is the dll on a network drive?: If not, then I don't know if the cause is something similar to this:
  8. O

    Problem with dynamic temp-table. Exceeding temp-table limit 32762

    You also need to delete the dynamic temp-tables as well. You may find this article useful:
  9. O

    Dynamic Query

    My previous posting missed including this article which again is a straight copy:
  10. O

    Dynamic Query

    I thought that a posting/article existed that showed how to do this with dynamic queries but can only find one that does a copy: DEF VAR tablename as CHAR INITIAL "table1,table2,table3" /* and so on */ DEF VAR cTraverseOldTable AS CHARACTER. DEF VAR iTableArrayIndex AS INT. DO iTableArrayIndex...
  11. O

    Question Run command from the AppBuilder

    I do not know if this article is any help as it shows you can run a program before you run the AppBuilder:
  12. O

    Question Run command from the AppBuilder

    I see. I am not sure if that is documented anywhere. The manual says this which indicates it may be similar to running from the Procedure Editor: You may find answers in the AppBuilder source code:
  13. O

    Question Run command from the AppBuilder

    Do you want to know how to run directly from the AppBuilder or if the AppBuilder is running the program as persistent? The attached image shows how to run from the AppBuilder and what to set if you want to run as persistent or not.
  14. O

    Question Manage output for dynamic query/browse when using OUTER-JOIN

    To add a calculated column you do something like this: hCalcCol = myBr:ADD-CALC-COLUMN("CHAR", /* Data type */ "X(15)", /* Format */ "", /* Initial value */ "Calc Column"). /*...
  15. O

    Index is ignored with "OR" in query

    As per rule 6/7 in this article slowness due to the bracketing resulting in reading all records: Try this: FOR EACH ucd_receival NO-LOCK WHERE (ucd_receival.id_location = <value> AND ucd_receival.da_receival_date = 11/19/2019) OR...
  16. O

    Question Online Field/Table Description Changes

    According to these articles it appears only new tables, new fields to existing tables or new indexes to existing tables can be added on-line:
  17. O

    Question Using class Microsoft.Office.Interop.Excel

    I think maybe something along these lines: objSheets = CAST(objWorkbook:Worksheets,Microsoft.Office.Interop.Excel.Worksheets). objSheet = CAST(objSheets:Item[1],Microsoft.Office.Interop.Excel.WorksheetClass). objSheet:Range["A1"]:Value2 = "Cell Value". MESSAGE objSheet:Range["A1"]:Value2 VIEW-AS...
  18. O

    Question Using class Microsoft.Office.Interop.Excel

    You first need to add to Assemblies.xml: It should be available to add in "Global Assemblies".
  19. O

    Example of IN super for procedure and function

    IN SUPER is used to declare that the function is found in a super procedure and that the function is implemented in the super procedure. /* main.p */ define var hdl as handle. FUNCTION TodaysDate RETURNS DATE () IN SUPER. run sub.p persistent set hdl...
  20. O

    Answered Using song effect for user action

    I don't know if these are any help but 2 possible options: Option 1: DEFINE VARIABLE cRelease AS CHARACTER NO-UNDO. DEFINE VARIABLE cVersion AS CHARACTER NO-UNDO...