Product Home
DTM Data Generation SDK Online Documentation
Product Profile
SDK components
Functions map
Low level API
Short Random
Integer Random
Random Symbol
Double Random
Random String
Random Date
Random Time
C/C++ example
Fill Methods level API
From list
From file
From table
From Values Library
Incremental
By maks
By SQL statement
Rule level API
Rule properties
Rule items
One rule item
Project level API
Project operations
Project properties
Project rules
Object handles
Database connection
Error handling
SDK limitations
Build application with SDK
License agreement

Generate Values from Text File

List Initialization
C/C++
DG_HANDLE InitFile(char *FileName)

C#/VBA/scripts
int InitFile(string FileName)
'FileName' parameter should contain full or relative path to file with values.

Generate value
C/C++
char* FileValue(DG_HANDLE handle, int sequentially)
C#/VBS/scripts
string FileValue(int handle, int sequentially)
Not 0 'sequentially' value means the function will return values from the file sequentially, random otherwise.