How to Modify a Database Using the BROWSE Command

ID: Q93350

1.02 2.00 2.5x 2.60 2.60a | 2.5x 2.60 2.60a 3.00 | 2.5x 2.60a

MS-DOS                    | WINDOWS              | MACINTOSH

The information in this article applies to:

The BROWSE command activates a table view of records in a database. The BROWSE command, without any parameters, allows the user to add, delete, and edit records in a tabular view of the currently active database file. In the tabular view, records are displayed as rows, and fields as columns.

The following sample application uses a Browse window to validate and update database fields:

   USE c:\foxpro2\tutorial\detail
   BROWSE FIELDS qty:v=replaceit(), price:v=replaceit(), ltotal ;
   VALID replaceit()

   PROCEDURE replaceit
   REPLACE ltotal with qty * price

Additional reference words: VFoxWin 3.00 FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b 2.50c 2.60 2.60a KBCategory: KBSubcategory: FxprgBrowse
Keywords          : kbcode FxprgBrowse 
Version           : 1.02 2.00 2.5x 2.60 2.60a | 2.5x
Platform          : MACINTOSH MS-DOS WINDOWS

Last Reviewed: May 22, 1998