home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-386-Vol-2of3.iso
/
b
/
bbdo17s.zip
/
CUSTOM.PRG
< prev
next >
Wrap
Text File
|
1993-02-08
|
1KB
|
20 lines
**-- Copyright 1993 B&B Systems DOALL
**-- You can modify this file anyway you want
**-- SAMPLE #1
**-- The line below will search for a data base file called
**-- Product.dbf, after entering <CTRL-F2>. If found it will be displayed
**-- on the screen. After making ANY changes here, this file needs to be
**-- compiled with FoxPro to make an .FXP file.
ON KEY LABEL CTRL+F2 DO filelook WITH 'PRODUCT',.t.,.t.
**-- Sample #2
**-- Use this to move data with one keystroke while in the browse screen.
**-- the sample below will move data from a FIELD Called ACTIVITY1 (used
**-- to insert activity codes) to another field called ACTIVITY2, and
**-- move whatever information that was in ACTIVITY 2 to ACTIVITY3.
**-- This assumes that your data base has threee fields called ACTIVITY1,
**-- ACTIVITY2, and ACTIVITY3.
**-- Note: if you insert the key word ALL after REPLACE, all records
**-- in the data file would be changed.
**-- ON KEY LABEL CTRL+F3 REPLACE ALL ACTIVITY3 WITH ACTIVITY2, ACTIVITY2 WITH ACTIVITY1