Tech Tip: Getting a list of available templates
PRODUCT: 4D Pack | VERSION: 2004.1 | PLATFORM: Mac & Win
Published On: May 19, 2005
A new command in 4D Pack allows you to get a list of available Detail form templates in your database:
C_LONGINT($error)
ARRAY STRING(255;$templates;0)
$error:=AP Get templates ($templates)
On success, the $error variable is set to 0 and $templates array is filled with the names of available templates for Detail forms.