Launch_WriteDictPath()

Examples


The Launch_WriteDictPath() function writes the location of an application, forms or reports dictionary to the launch file.

Syntax

Launch_WriteDictPath(launch_file_location, product_ID, dictionary_type, dictionary_path, dictionary_location_ID)

Parameters

launch_file_location A string containing the full generic path to the launch file, including the file name. Both the Launch_SelectFile() and Launch_GetFileName() functions return the full path and name of a launch file.

product_ID – An integer indicating the product ID for the application, forms, or reports dictionary pathname you want returned. You can return a product ID using either the Launch_GetProdID() or the Launch_GetFileInfo() functions.

dictionary_type – An integer indicating the type of dictionary for which the pathname is being returned. Use the following integer values:

[spacer]

Value

Description

0

Application dictionary

1

Forms dictionary

2

Reports dictionary


dictionary_path – A string indicating the pathname added to the launch file. To change the existing path in the launch file, set this parameter to the path returned by the Launch_SelectDict() function.

dictionary_location_ID – A string indicating the dictionary location ID. This can be returned using the Launch_GetFileInfo() function.

Return value

The boolean value true.

Comments

If you choose to modify dictionary pathnames in the launch file, be aware of the following:


Documentation Feedback