Vfptables
Vfptables
McAlister Merchant
Microsoft Corporation
Created: March 2001
Revised: March 2001
Applies To: Microsoft Visual FoxPro
Summary
With Visual FoxPro, you can create and manage, individually and relationally, tables of
data from many sources. You can use the Visual FoxPro language, or you can use the
many tools to access or manipulate all kinds of data quickly, whether it is on a local disk,
a network, or the Internet.
Contents
What is Data?
Importing Data into Tables
Arranging Data in Tables
Accessing Data in Tables
Introduction
Microsoft Visual FoxPro is an application, a language, and a set of application
development tools. Visual FoxPro tools are written in the Visual FoxPro language and are
themselves based on tables.
In Visual FoxPro, you can use wizards, builders, or commands to create or to manipulate
tables of data quickly. You can use the Import and Table wizards to create tables, the
Table designer to manage tables, and the Visual FoxPro Browse command to view tables.
For simple access to data, use Visual FoxPro directly from commands, menus, and the
Data Session window. For more complex data access and manipulation, you can create
forms, reports, or views to enter and display tables.
This paper describes how to access existing data with the Import wizard and how to
create the structure for new data using the Table wizard and the Table designer from
Visual FoxPro menus.
What is Data?
Visual FoxPro works with and manipulates data in tables. The data can be composed of
any of the following types of information alone or in combinations: Character, Currency,
Date, DateTime, Logical, Numeric, Memo, General, Float, and Double. Visual FoxPro also
accesses objects (such as Word and Excel documents), graphics, or sound files, as data.
You can use data that resides in many different kinds of tables, including tab or comma-
delimited text files or tables produced in other applications, such as Microsoft Excel or
Microsoft SQL Server.
For more information on valid data types, see the “Data and Field Types” topic in the
Visual FoxPro Help.