Skip to content

NilsSve/DataFolderSelectorDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Folder Selector Demo

The Data Folder Selector Utility allows users to select a Data folder (Client Company) when starting a program.

Setup after cloning

After cloning this repository, run setup.bat once from the repository root. It:

  • downloads / updates the library submodule under Libraries\ (DataFolderSelector) to the version this workspace expects;
  • configures this clone so a normal git pull keeps it in sync automatically from then on.

Re-run setup.bat any time the Libraries\ folder looks empty or out of date, or when a new submodule is added.

Components

This utility includes two main components:

  1. SetupDataFolder.exe: An administrator program used to add Data folders, which can later be selected by end-users.
  2. DataFolderSelector.dg: A dialog file that should be integrated into your program's Client Area. It automatically appears when the program starts, enabling the user to choose which Data folder/Company to use.

Usage

The DataFlex Order Entry sample application's Order.src program has been modified to demonstrate how to incorporate the DataFolderSelector library logic into an application.

To use the Data Folder Selector Utility in your application:

  1. Add the DataFolderSelector.dg file to your program's Client Area.
  2. Compile the SetupDataFolders.src program once.

That's all it takes to integrate the logic!

Example

Below is a sample image showcasing how it looks when the Order.src program is started:

Sample image of the SetupDataFolders.src program

About

Demo App for "Library-DataFolderSelector" (Based on the Order Entry app)

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors