` Printed Icetips Article

Icetips Article



Templates: Fix for multi-user generation problem
1999-03-26 -- George Lehmann
 
Newsgroups: topspeed.products.c5ee.bugs

Jon,

Your suggestion was close enough for me to figure out what needed to be
done, Thanks So Much for the suggestion. Here's the actual fix:

In 3 files, ABFILE.TPW, ABPROGRM.TPW, and ABWINDOW.TPW, 'PBDY.$$$' is
referenced 4 times.  In each of the three files I changed the following:

Remove this line:
#CREATE('PBDY.$$$')

Add these lines:
#DECLARE(%ABFileTemp)
#SET(%ABFileTemp,UPPER(%Application&'.AF$'))
#CREATE(%ABFileTemp)

Remove this line:
#CLOSE('PBDY.$$$')

Add this line:
#CLOSE(%ABFileTemp)

Remove these lines:
#APPEND('PBDY.$$$'),SECTION
#REMOVE('PBDY.$$$')

Add these lines:
#APPEND(%ABFileTemp),SECTION
#REMOVE(%ABFileTemp)

I actually used a different extension in each of the three files (.AF$ in
ABFILE, .AP$ in ABPROGRM, and .AW$ in ABWINDOW), but I think that is
overkill.

Again, thanks for pointing me in the right direction.
George Lehmann
Horizon Business Concepts

Jon Waterhouse wrote in message <36fa783e.0@tsnews.clarion.com>...
>Could you not just change these lines in the ABCHAIN.TPL file? Haven't
tried
>it, just a thought.
>
>#SET(%BuildFile,UPPER(%Application&'.B1$'))
>#SET(%BuildHeader,UPPER(%Application&'.H1$'))
>#SET(%BuildInclude,UPPER(%Application&'.I1$'))
>



Printed May 5, 2024, 5:33 pm
This article has been viewed/printed 35121 times.
Google search has resulted in 43 hits on this article since January 25, 2004.