>CLOSE DATABASES >CLEAR >CREATE CURSOR employee ; > (EmpID N(5), Name Character(20), Address C(30), City C(30), ; > PostalCode C(10), OfficeNo C(8) NULL, Specialty Memo) >DISPLAY STRUCTURE >WAIT WINDOW "Press a key to add a record." > >INSERT INTO employee (EmpId, Name, Address, City, PostalCode, ; > OfficeNo, Specialty); > VALUES (1002, "Dr. Bonnie Doren", "University of Oregon", "Eugene", ; > "98403", "", "Secondary Special Education") >BROWSE > >* At this point you can copy this record to a permanent table. >CLOSE ALL && Once the cursor closes, all data is flushed from memory. >CLEAR >>
>>>>drop e:\depstudy\mydbc1\am2 >>>>drop e:\depstudy\mydbc1\am3 >>>>>>>>
>>>OPEN DATABASE e:\depstudy\mydbc1\mydbc1 >>>if indbc('am2','Table') >>> DROP TABLE am2 >>>endif >>>if indbc('am3','Table') >>> DROP TABLE am3 >>>endif >>>If you would drop them every time you run a form why are you adding them to a database in the first place.