Skip to main content
Skip table of contents

f$SetProfile (f$SetzeProfile)


f$SetProfile (f$SetzeProfile)

Make a setting in an initialization file (e.g. "tdv.ini" in the Windows directory).

Settings can also be made for other programs - e.g. Microsoft Word. These settings can then be evaluated by the respective program, e.g. in Word using the WordBasic function "GetProfileString". The setting can be read in ePOS with f$GetProfile.

Note:

To avoid problems with writing permissions at file level, the settings are saved in the ePOS database.

Hint:

Every customer can create their own initialization files in which department- or computer-specific data is saved. This can be done by creating a "<customer>.ini" file in the Windows directory with an ASCII editor where, for example, the language for dialog windows, logic management parameters such as "Sales" etc. or also certain data paths are saved.

Syntax:

f$SetProfile( Filename, Section, Keyword, Value )

 

Argument

Type

Meaning

 

Filename

String

Name of the initialization file in the Windows directory (e.g. "tdv.ini") or alternatively a file name with full path entry

 

Section

String

Name of the section in the file (without brackets)

 

Keyword

String

Keyword to be set

 

Value

String

Setting to be made (if NOVAL, the keyword stays but no value is set)

Result:

-

 

Example:

Set the Windows decimal separator to a comma:

f$SetProfile('win.ini', 'intl', 'sDecimal', ',')

The file "win.ini" in the Windows directory then contains the following setting:

...
[intl]
...
sDecimal=,
...

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.