Organizer Advantage is powerful yet easy to use database manager for Windows.
Advantage Designer lets you modify our solutions or easily create new databases.
Take control of your data with our simple or buinsess database software solutions.


 |  Organizer Advantage HowTo/Help  |  Designer HowTo/Help  | 


Advantage Help > Tabbed Toolbars > How To > How to define tasks?

easy-to-use database manager and database designer for Windows

How to define tasks on the Tasks toolbar?

The Tasks toolbar allows you to access quickly some features of the program with one button click (load selected table, print address label, print inventory report, print invoice for the selected record).

tasks toolbar, example of task commands

Where task.ini file is stored?

Tasks are predefined in the task.ini file. The file is stored in the database's data folder.

Use Windows File Explorer to find the file. Use Windows Notepad application to edit the file.

find the database file name and the corresponding data folder:

tasks toolbar, find database name, database data folder

open Windows File Explorer to locate task.ini file

task ini file, find file in data folder

What is the format of the task.ini file?

task ini file format, sample file

How to define task list in the task.ini file?

Definition words

  • count : defines the number of predefined tasks
  • label : defines the text displayed on the task button
  • hint : defines text displayed as a hint
  • db : tells the program which table to load
  • func: tells the program which feature(function) to access
  • template: tells the program which template to load

Available functions

  • PrintStdReport
    example code:
    label=Print Standard Report
    hint=Print a report
    db=LIBRARY_CATALOGUE
    func=PrintStdReport
    template=Test
  • PrintLabels
    example code:
    label=Print Spine Labels
    hint=Print spine labels
    db=LIBRARY_CATALOGUE
    func=PrintLabels
    template=TestLabel
  • PrintHTMLReport
    label=Print Invoice
    hint=Allows printing invoices defined in HTML format
    db=ORDERS
    func=PrintHTMLReport
    template=a.htm
  • Backup
    label=Backup Library Database
    hint=Backup function
    func=Backup



Sample task.ini file:

[0]
count=4
[1]
label=Dispaly Library Database
hint=loads and displays library main database
db=LIBRARY_CATALOGUE
[2]
label=Backup Library Database
hint=Backup function
func=Backup
[3]
label=Print Standard Report
hint=Print a report
db=LIBRARY_CATALOGUE
func=PrintStdReport
template=Test
[4]
label=Print Spine Labels
hint=Print spine labels
db=LIBRARY_CATALOGUE
func=PrintLabels
template=SpineLabels

Copyright © 2024 · All Rights Reserved · PrimaSoft PC