Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with
Message
From
27/09/2005 07:54:14
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/09/2005 07:23:27
Daryl Dunkley
Pegasus Software Limited
Kettering, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01053363
Message ID:
01053370
Views:
6
>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

Daryl,
Are you sure it works under VFP6?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform