Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Templates: Testing for other populated templates 1999-03-29 -- Lee White Newsgroups: TopSpeed.Topic.Templates
Editors note: Please note that some lines may wrap in the template code.
Craig,
#RESTRICT
#FOR(%ActiveTemplate)
#IF(UPPER(%ActiveTemplate) = 'RPM_STANDARD_RPT(LODESTAR_RPM)')
#ACCEPT
#BREAK
#ENDIF
#ENDFOR
#ENDRESTRICT
...or...
#ATSTART
#DECLARE(%RPMExt)
#SET(%RPMExt,%FALSE)
#FOR(%ActiveTemplate)
#IF(UPPER(%ActiveTemplate) = 'RPM_STANDARD_RPT(LODESTAR_RPM)')
#SET(%RPMExt,%TRUE)
#BREAK
#ENDIF
#ENDFOR
#ENDAT
Of course you'll probably want to replace some text...
'RPM_STANDARD_RPT(LODESTAR_RPM)'
...so you can find YOUR templates!!
Today is November 21, 2024, 6:26 am This article has been viewed 35211 times. Google search has resulted in one hit on this article since January 25, 2004.
|
|