Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View OK in VFP7, not in VFP9
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
View OK in VFP7, not in VFP9
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01346524
Message ID:
01346524
Vues:
50
I am converting my app from VFP7 to VFP9.

This view in the DBC works OK in VFP7, but not in VFP9.
CREATE SQL VIEW "MODELV" ; 
   AS Select * From [C:\ABC8\DATA\model.dbf]
Model.dbf is a free table. The view is created at runtime, hence the hard coded path and the quotes around the FROM part.

I am using:
Set ENGINEBEHAVIOR 70

The view does not give an error, it just does not return any records. It works fine in VFP7.


Does this view look fundamentally wrong for VFP9, or should I persevere?

Cyril
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform