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...
If you are on a later version of Progress you may be able to use .NET to solve:
https://community.progress.com/s/article/How-to-get-printer-status-with-ABL-on-Windows
As Rob says, there could potentially be many different answers.
This gives a bit of information about DBTool padding that may help:
https://community.progress.com/s/article/How-dbtool-padding-affects-the-new-SQL-WIDTH-value
Also this for extent fields padding...
To only apply for table 61 you need to enter 61 not all for <table>
It has been quite a few years since I used DBTool to adjust padding but the last time I did I recorded the screen and if any help have listed:
DATABASE TOOLS MENU - 10.2B...
Because DISPLAY ONE is appearing in the REPEAT block and straight after you create the temp-table it will display the current temp-table created thus you see all the temp-table records and numbers being created from 1 to 174.
For DISPLAY TWO it is not in any block and is just displaying a...
Firstly, the row display trigger is the wrong place to hide and view browse columns so needs to be applied in a separate place.
Secondly, to hide or view a browse column you use the VISIBLE attribute. This article hopefully will help:
https://community.progress.com/s/article/P167681
Unfortunately I have never done anything that requires SSL so unable to really help.
Can you use OpenEdge.Net.HTTP, and if so is the "sslVerifyHost(NO)" option a solution?:
https://community.progress.com/s/article/Error-9318-when-connecting-with-SSL-certificate-without-a-common
I have rarely had to access data via ODBC or SQL so do not know the cause, but wonder if the date for that particular record is being stored incorrectly. Are you able to read records using ABL code and if so and the value is an invalid date value can you correct the value?
If not, does using...
As Tom points out, DBTOOL is just giving information of the problem table and fields not the actual RECIDs of records that are the cause of the error.
One idea is you could adapt the code in this article to list RECIDs/ROWIDs/key index fields so you know the specific records...
Applying FORWARD-ONLY before you open the query may help a little as it makes the query behave similar to a FOR EACH.
https://docs.progress.com/bundle/abl-reference/page/FORWARD-ONLY-attribute.html
QUERY cust:FORWARD-ONLY = TRUE.
As Cringer points out this works as expected and the attached images show this:
PDSTest1.png - Variables defined for the whole procedure and the internal procedure are listed.
PDSTest2.pmg - Only variables defined for the internal procedure are listed because they have the same names as 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.