Article ID: 135562
Article Last Modified on 3/24/2000
CREATE DATABASE Mydata && Creates the database container MODIFY DATABASE Mydata && Opens the database container
PROCEDURE MYDEL
=MESSAGEBOX("My Delete Trigger")CREATE TABLE Mytab(Fname C(15),Lname C(15)) CREATE TRIGGER ON Mytab FOR DELETE AS Mydel()
OPEN DATABASE Mydata
SET MULTILOCKS ON && Required for buffering.
=CURSORSETPROP("Buffering",1) && Turns Buffering Off
Or on the Tools menu, click Options. In the Data tab, set Buffering to
Off
? CURSORGETPROP("Buffering")
This will return the value of the Buffering level: 1=Off,
2=Record(Pessimistic), 3=Record(Optimistic), 4=Table(Pessimistic), and
5=Table(Optimistic).
SET MULTILOCKS ON && If you have not done so previously.
=CURSORSETPROP("Buffering",2)
Or on the Tools menu, click Options. Then in the Data tab, set Buffering
to 2-Record (Pessimistic). If no data exists, press CTRL+Y to append a
blank record.
SET MULTILOCKS ON && If you have not done so previously.
=CURSORSETPROP("Buffering",4) && Table(Pessimistic)
Or on the Tools menu, click Options. Then in the Data tab, set Buffering
to 4-Table (Pessimistic). If no data exists, press CTRL+Y to append a
blank record. Then do the following:
=CURSORSETPROP("Buffering",1)
Or on the Tools menu, click Options. Then in the Data tab, set Buffering
to 1 (Off). Then you can pack or recycle the records.Additional query words: 3.00 VFoxWin fixlist3.00b buglist3.00 events
Keywords: kbbug kbfix KB135562