[TEX]
hi every one
i have problem in database
if i want to create 7 tables by DAO liberary the name of the tables are :
vn,itm,ctm,vst,sal,vnd & tin
i have created tables as :
Set db = CreateDatabase("WORKS.MDB", dbLangGeneral)
db.Execute "CREATE TABLE vn(vn_nm text (30),vn_add text (100),vn_bo text (30),vn_tel text (30),vn_reg text (15),vn_rec text (15),vn_fax text (15),vn_eml text (100),vn_nte memo)"
Set db = DBEngine.Workspaces(0).OpenDatabase("works.mdb", 2)
Set vn = db.OpenRecordset("VN", 2)
it is an example of creating one of tables so is it true or not?
but when i do this in all tables there are an error is:
run-time error'91':
Object variable or with block variable not set
please i want the help
and finally thanks