General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Network:
Windows 2003 Server
hi,
i'm not sure if i have found a bug in VFP9. i'm trying to run the below code in VFP9 but i get Error #1593, in VFP6 the code works and a database is created.
------------------------------------------------------------------
LOCAL loCrtDB
BEGIN TRANSACTION
loCrtDB = CREATEOBJECT('clscreatedatabase')
loCrtDB.createdatabase()
ROLLBACK
RETURN
DEFINE CLASS clssession as Session
datasession=2
ENDDEFINE
DEFINE CLASS clscreatedatabase as clssession
PROCEDURE createdatabase()
CREATE DATABASE c:\tempdb
ENDPROC
ENDDEFINE
-----------------------------------------------------------------
does anybody know why this doesn't work in VFP9?
thanks
daryl
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