Structure of Visual FoxPro Application
A typical database application consists of data structures, a user interface, query options, and reporting capabilities.
An assembled Visual FoxPro application typically presents a user with a menu and one or more forms for entering or displaying data. You provide functionality and maintain data integrity and security by attaching code to certain events. Queries and reports allow your users to extract information from the database.
Structure of a typical Visual FoxPro application
When structuring your application, you need to consider the following tasks:
- Setting the starting point
- Initializing the environment
- Initializing the Environment
- Controlling the event loop
- Controlling the Event Loop
The following sections provide details about each of these tasks. Typically you would create an application object to complete these tasks. If you use the Application Wizard to compile your application, it creates an application object. Or, if you want, you can use a program as the main file that handles these tasks. For more information, see Structuring a Program as a Main File.
See Also
Compiling an Application | Setting the Starting Point | Application Framework Files | Application Builder | Initializing the Environment | Planning Client/Server Applications | Planning Enterprise Applications