Really surprised by this as it appears to by design:
https://community.progress.com/s/article/P116984
Can you apply the suggested resolutions?
If you need to export multiple tables then this dynamic option may be useful:
https://community.progress.com/s/article/P4410
It is certainly possible to run an Excel macro from 4GL, and as a quick test created a simple macro in an Excel file which was the following:
Sub Macro1()
MsgBox "Hello World."
End Sub
Running this code in 4GL gave the message:
DEFINE VARIABLE hExcel AS COM-HANDLE NO-UNDO.
DEFINE VARIABLE...
What you have done sounds fine and a possible improvement is to use Super Procedures:
https://docs.progress.com/bundle/abl-reference/page/ADD-SUPER-PROCEDURE-method.html
https://docs.progress.com/bundle/openedge-develop-abl-applications/page/Guideline-1-Use-a-single-super-procedure-stack.html...
Yes, unfortunately, of all the links I listed here - Seeking great OpenEdge GUI development tutorial - only this is still valid:
https://community.progress.com/s/question/0D54Q00007tFpLaSAK/openedge-ultra-controls-for-net-illustrative-samples
To start you off, have a read of the GUI for .NET...
For a quick example connect to the Sports2000 database and run something similar to this:
/* runorderstreeview.p */
DEFINE VARIABLE oOrderstreeview AS orderstreeview NO-UNDO.
oOrderstreeview = NEW orderstreeview().
oOrderstreeview:Show().
WAIT-FOR...
For (2), as Rob outlines, the AppBuilder functionality is integrated into PDSOE and the good news is this allows you to create character based UI's using either of the TTY options:
Tom, you are correct about LOAD and SAVE but have been assured no-one is doing that.
Peter, thanks for the link, and trying some things can confirm that the procedure editor can set this if you do not specify a program to run.
If the shortcut is similar to this it does not appear to change the...
In the past few weeks a shared Windows ini file on the server has twice had changes to the Proedit section, and although the changes have not affected anything I would like to know who or what is causing the changes.
Whatever is happening is changing the settings from:
[Proedit]...
As Cringer posts, it should be painless, and if the index is for a new table that is being added then it can be active in the DF, and can all be applied online when you select the 'add new objects online' option.
I have previously had this exact problem and the change that Stefan posted appears to be the only option. If you change to this it works:
define variable dcQty as decimal DECIMALS 6 format "->>,>>>,>>9.9<<<<<<<<" Label "Qty" no-undo.
As Stefan says it is a balancing act and maybe not ideal to...
As Cecil posted it is a startup parameter so will not work putting in an ini file.
Something to note, if the other users are only running compiled programs then they do not actually require access to assemblies.xml. When you run from r-code, you don't need the assemblies.xml file because the...
Ah right, that does not work. You can do something like this with SendKeys but unfortunately do not know the correct text for CTRL-V:
System.Windows.Forms.SendKeys:Send("e").
System.Windows.Forms.SendKeys:Send("~{END}").
I am not sure if this is the solution but does something like this work?:
System.Windows.Forms.SendKeys:Send(CAST(Progress.Util.EnumHelper:Or(System.Windows.Forms.Keys:Control,
System.Windows.Forms.Keys:V)).
Cannot help with what you are missing for debugging, but for more structured documentation have you looked at devstudio.pdf? If you do not have this it should be available from here:
https://docs.progress.com/category/openedge-archives#OpenEdge11
Note: The 11.6 version (October 2015) has 1100...
I am not quite sure, but I think it is just a matter of reading all the records, updating the fields then invoking a browse refresh.
A very old code example but think this is on the lines of what you are trying to achieve - just adapt to assign from a column value instead of a frame field...
How are you hosting the TreeView OCX, is it in a CONTROL-FRAME which was created something similar to?:
DEFINE VARIABLE CtrlFrame AS WIDGET-HANDLE NO-UNDO.
CREATE CONTROL-FRAME CtrlFrame
ASSIGN
FRAME = FRAME F1:HANDLE
ROW = 1.24
COLUMN = 4...
One option is to use Excel and COM-HANDLES, and attached is a procedure that will create a chart from the Sports2000 database.
It is a very old procedure but it does seem to work fine with the latest versions of Excel.
I do not use SmartObjects so cannot help with an example but have a look in the PDFs listed here to see if they have any examples:
https://community.progress.com/s/article/How-to-start-a-GUI-in-ADM2-that-waits-for-user-interaction
Although old, there may be some examples here - as per the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.