General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Network:
Windows 2003 Server
i have fixed the sample code so now it works fine in VFP6 without causing a c05 and it still fails in VFP9 with the error 1593
LOCAL loCrtDB
BEGIN TRANSACTION
loCrtDB = CREATEOBJECT("clscreatedatabase")
loCrtDB.createdatabase()
loCrtDB = .null.
END TRANSACTION
RETURN
DEFINE CLASS clssession as Session
datasession=2
ENDDEFINE
DEFINE CLASS clscreatedatabase as clssession
PROCEDURE createdatabase()
CREATE DATABASE c:\tempdb
ENDPROC
PROCEDURE destroy()
CLOSE DATABASES
ENDPROC
ENDDEFINE
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only