[Stackoverflow] [Progress OpenEdge ABL] How to conditionally compile in case of an existing table?

Status
Not open for further replies.
D

Dominique

Guest
I'm working with Progress-4GL, release 11.6, appBuilder and procedure editor.

I have just created a table, called "table_X", and I'm using it inside the code, something like:

Code:
FIND table_X ...

However, my program is general, but the table is custom-based (some customers have this table, but some don't).

So, I'd like to add a "preprocessor", something like:

Code:
&IFDEF table_X
&THEN FIND table_X ...
&END

Where the &IFDEF means: "Only compile this piece of code if that table exists in DB".

Is this possible in Progress-4GL, release 11.6?

Thanks in advance

Continue reading...
 
Status
Not open for further replies.
Top