Hi all,
The following presentation by John Sadd gives a very good overview of OO and progress. It's for version 10 but it's a good starting point. Thanks.
https://community.progress.com/community_groups/openedge_general/w/openedgegeneral/1145.abl-videos-introduction-to-abl-classes.aspx
Hi,
Thanks for your input I agree with you regarding Stack overflow and it might make me even more confused. As regards .
I kind of agree with you on this but I was not too sure how to approach this. To be honest I still am not. I would prefer not to have to create a separate class for...
Hi all,
I have been asked to do some coding on a project that uses classes. It has been a while since I did OOP in college and when I did before it was with java. I am struggling to understand a few concepts and I have a few questions that maybe one of you could answer.
Just to explain what...
Thanks folks. The input is on this interesting and very helpful. It would appear to me that maybe in the past using locks with temp tables used to be the done thing and now it is not. I wasn't aware the code below was now valid, good to know. This alone would make me think that yeah its time...
Okay, I didn't know that. In a company I worked for we had this problem cross platform problem on one release and it took quite a while to detect it. I was putting it out there in case the Original Poster was having problems with their PL file. But good point.
Hi all,
Quick question, is using lock statements (no-lock, exclusive-lock) when doing searches on temp tables considered bad coding standards? See example below. Now before anyone says anything note the below is a simple example for illustrative purposes only.
DEFINE TEMP-TABLE...
I am not sure what you are trying to do, but I assume you are aware you can use the following from both Unix and Windows prompt.
prolib myplfile.pl -list
This gives a very good listing of each file. Also one thing to make sure of which I happened in a previous company I worked for, make sure...
I figured out how to do this so I'll put the solution up. It is a bit of a hack but it will have to do. What I did was to output the initial xml to a longchar. Then use the progress replace function to replace < with <. Then save the xml document using a handle and the SAVE() method
Code...
Is it possible to configure write-xml so that it doesn't replace <B> with <B>
I have several letters that are broadly the same, so instead of using 1 xsl for each letter I output the data using a temp table.
I have the following code snippet which creates an xml file, to be read by fop...
I understand what you are saying. Basically if the the trigger does something basic like update a sequence then you don't need a CRC check. However if it does something complex like change several tables and is a very big sequence, e.g the trigger being changed would be likely to damage the...
Hi All,
I know the whole idea by CRC checks, to ensure that if the database has been changed since the code was last compiled that a front end error is generated. But can anyone advise me what the purpose of a CRC check on a database trigger is. This has a checkbox which appears to be...
Hi Guys,
I found an alternative to dynamics sendEmail. The following previous progress talk post solved my problem: http://www.progresstalk.com/threads/send-an-email-using-progress-code.114840/
I had to replace to mailx command in unixemail.p with the command below:
cemailcommand = "mailx -a...
Hi Lads,
Thanks for both your responses.
Yes the sendMail I am referring to is part of dynamics af/app/afsesmngrp.i, not what was written by David Pipes. I have tried adding the procedure directly to sndmail.p it fails to work (can't find gms_user table) and I have tried including...
Hi folks,
As part of a system error checking I am doing I need to send and email to the support team when a error occurs. Can someone help me please as regards SendEmail.
I am trying to figure out how this works and get it to work for me. I have created a program sndemail.p (below).
I am...
rzr thanks a lot for you tip, it pointed me in the right direction. What worked better for me though was to create a frame within the window with a Paste button on it. Right clicking on the password field now causes frame f2 (see below) to appear instead of the system Menu box with Cut Copy...
Hi folks,
I am wondering if anyone can help me here. Users have asked for the ability to paste a password from one application to a progress application. I see that by default you can not paste into a password field in Windows. I can paste into a password field in progress under Unix. I...
Correction the changes I mentioned above doesn't make any difference
the correct thing is to use the following line of code.
PUT {&WEBSTREAM} CONTROL "~357~273~277".
Excel recognises this byte order mark and outputs the data correctly...
Hi Guys, I found the solution to this
I replaced
output-http-header("Content-Encoding", "UTF-8").
output-http-header("content-disposition","Attachment~;filename=myfile.csv").
output-content-type ("application~/vnd.ms-excel~; charset=UTF-8":U ).
with...
There are two issues here Firstly, I don't get the popup in your screenshot asking to convert the data, because I use comma as the delimiter not a pipe. Secondly I probably wouldn't want the users using this converter as I wouldn't be confident they would use the converter correctly. I want...
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.