Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with
Message
De
27/09/2005 08:34:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/09/2005 08:17:45
Daryl Dunkley
Pegasus Software Limited
Kettering, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01053363
Message ID:
01053385
Vues:
13
>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

Yes with this code it looks like a bug. If a workaround work for you then you could use copy instead from a template or lowlevel create the dbc.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform