Questions tagged [progress-4gl]

The Progress 4GL is a multi-platform interpreted language typically used to build business applications and is now known as ABL.

With a first official commercial release in 1984, Progress 4GL was initially a procedural language and has since had object-oriented extensions added to the language starting with the OpenEdge 10.1 version. The language offers tight data binding to the Progress OpenEdge database and also runs on the OpenEdge AppServer.

The Progress 4GL is now known as the OpenEdge ABL (Advanced Business Language) and is produced by the OpenEdge division of Progress Software Corporation.

Hello World

DEFINE VARIABLE msg AS CHARACTER   NO-UNDO.
msg = "Hello World!".
MESSAGE msg VIEW-AS ALERT-BOX INFORMATION.

Useful links
Progress Software

Progress Official Developer Network

The OpenEdge Hive

Progress KnowledgeBase

Progress E-mailing list (PEG)

ProgressTalk Forums

Wikipedia
http://en.wikipedia.org/wiki/Progress_Software http://en.wikipedia.org/wiki/OpenEdge_Advanced_Business_Language

1293 questions
2
votes
4 answers

OpenEdge abl truncate( log(4) / log(2) ) should be 2 returns 1

I have a problem with what i guess is a rounding error with floating-points in OpenEdge ABL / Progress 4GL display truncate(log(4) / log(2) , 0) . This returns 1.0 but should give me a 2.0 if i do this pseudo solution it gives me the right answer…
Zesar
  • 566
  • 2
  • 14
2
votes
2 answers

Retrieve SQL view definition from Progress 4gl database

Is there a way to extract the definition of a SQL view on a Progress database? i.e. so we can ALTER the view? We are running Progress 10.2b.
2
votes
2 answers

Progress 4GL queries

I am new to this language and having some problems understand queries. for example: There are 2 database tables: Warehouse, product. So each warehouse can have multiple products and products can be stored in different warehouses. Query: for each…
Simoncat
  • 21
  • 2
2
votes
1 answer

Using sax writer to create line feeds in a xml 2003 workbook

Hi stackoverflow comunity, using a sax writer with the progress-4gl language i succeeded in creating an a xml 2003 workbook. My problem began when i wanted to add a linefeed to a cell. The normal linefeed for excel (in xml) is made using " ", this…
Sebastien
  • 41
  • 4
2
votes
4 answers

Good literature on Progress 4GL

I am in search for good literature to learn Progress 4GL. This is a workspace-related project, and funding for training is not available. I've tried the documentation, but it is inaccurate and pretty chaotic. I will have to do most work in the ChUI…
ty812
  • 3,293
  • 19
  • 36
2
votes
3 answers

How to know the number of records accessed by a program in Progress-4GL?

I'm trying to know how many records a running program is accessing. I found the VST _TableStat, but it doesn't group the number of records by program. FOR EACH _TableStat NO-LOCK WHERE _TableStat._TableStat-Create > 0 OR…
rubinhos
  • 77
  • 7
2
votes
2 answers

Progress display long field (frame/form)

How can i display a long field on screen. For each cust : Display remarks. End. The remarks field has 300characters to display. The display statement gives an error that the field is too long to display. I already tried form and frame…
Jac
  • 43
  • 1
  • 4
2
votes
2 answers

Change the default lock in Progress instead of Share-lock

How can we change the default lock in Progress instead of Share-lock?
Jay
2
votes
3 answers

How To Send a PDF File to a Progress AppServer?

I have a PDF file at client and i want to send this PDF file on AppServer. How can i send this pdf file at AppServer?
Jay
2
votes
1 answer

Deleting a row from temp table

I have two grids and on a button click items move from grid 1 to grid 2. Another button removes selected items from grid 2. The row is deleted from the screen by using: THIS-OBJECT:ultraGrid2:ActiveRow:Delete(). However then this is saved and…
Matt_Johndon
  • 204
  • 1
  • 6
  • 15
2
votes
1 answer

Wierd behaviour of an if statement in Progress 4gl

I have noticed a very odd behaviour with an IF-statement in Progress 4gl. I define an integer with the format "999" which tells it to have 3 digits and then I assign a value lower than 100 (eg. 12) then when I display it it shows as "012" as it…
MrBucket
  • 73
  • 7
2
votes
1 answer

Send Message To Another User

I was wondering how to send messages to another user using Progress 4gl. We are trying to cut down on the PA speaker where I work and I want some way to notify a certain user/users of some predefined messages. I'm not sure if this is even possible…
Jim S.
  • 203
  • 8
  • 24
2
votes
5 answers

Progress 10.1C 4GL Encode Function

Does anyone know which algorithm Progress 10.1C uses in the Encode Function? I found this: http://knowledgebase.progress.com/articles/Article/21685 The Progress 4GL ENCODE function uses a CRC-16 algorithm to generate its encoded output. Progress…
RaphaelH
  • 2,144
  • 2
  • 30
  • 43
2
votes
2 answers

How to decorate classes, methods and properties with attributes in Progress Openedge ABL with .NET bridge?

I have to use Progress Openedge Architect in my work, and I need to convert some C# code to ABL code (ABL is the language name). So I need to find how to decorate my classes, properties and methods with .NET attributes. I searched through this guide…
Gabriel Hautclocq
  • 3,230
  • 2
  • 26
  • 31
2
votes
2 answers

Getting the Compiler:Error-Row when the compile error occurs in an include file

Does anybody know whether it's possible to get the error-row of a file being compiled when the error occurs in an include file? For example, I'm compiling a file, say abc.p, that uses def.i all over the place. At some point, I make a change to abc.p…
RobertT
  • 1,213
  • 10
  • 12