customize .i

flybird

New Member
I have a customization program a.p calling b.i file. In order to make some changes on the report, i change on the existing b.i file.

I compiled the a.p and did not see any changes i made on b.i.

So what is the right way to change .i file and compile the .p to see the change made?

Thanks,
 
Hi,
Please make sure that include file is placed in the correct propath. if you have the .i in the home directory while compiling main program, then make sure that you have included home directory in the propath variable.
 
Thanks,

Since i am making the change on the existing .i file, i suppose nothing would change on the propath.Am i right on it?
 
First check where the files are:
MESSAGE
SEARCH ("a.p") SKIP
SEARCH ("a.r") SKIP
SEARCH ("b.i") SKIP
VIEW-AS ALERT-BOX.

Put a MESSAGE "Inside b.i" VIEW-AS ALERT-BOX at the start of b.i so you know that it is being called correctly.

MESSAGE VIEW-AS ALERT-BOX is really useful for debugging this kind of thing.

You probably have 2 versions of the include file and are editing the wrong one. This normally happens if you open b.i without putting the path in, then save it, it gets saved to the home directory. If your home directory is first in the PROPATH then changing the include file in the source code directory will have no effect, if not then you might have saved the include file in the wrong place.
 
Back
Top