KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Condition Statements in 4D Business Kit
PRODUCT: 4D Business Kit | VERSION: 1.0 | PLATFORM: Mac & Win
Published On: June 27, 2002


When you want to use conditional HTML code, place that code within a 4DBKIF - 4DBKElse - 4DBKEndIF statement. Only when the condition of the 4DBKIF command evaluates to true, will the code between it and the next 4DBKElse or 4DBKEndIF command be processed and displayed. If the condition is false, the code between the 4DBKElse and 4DBKEndIF will be processed and displayed. This is applicable for both 4DBK tags/commands as well as HTML code.

Note: The same can be applied to the 4DBKCaseOF - 4DBKCase - 4DBKEndCaseOF condition statement tag/commands.