Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP9 and cascade view - bug ?
Message
 
À
30/05/2005 11:13:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01018547
Message ID:
01018550
Vues:
11
Not sure if this is a BUG, but you may use the V_Lower BEFORE REQUERY() V_Upper
SET SAFETY OFF
CLOSE DATABASES ALL

CREATE DATABASE TryDB

CREATE TABLE TryTable ( Jmeno C(10) )
INSERT INTO TryTable VALUES ( "Igor" )
INSERT INTO TryTable VALUES ( "Jane" )
FLUSH FORCE

CREATE SQL VIEW V_Lower AS SELECT * FROM TryDB!TryTable
CREATE SQL VIEW V_Upper AS SELECT * FROM TryDB!V_Lower

USE IN V_Lower
USE IN TryTable

USE TryDB!V_Lower
USE TryDB!V_Upper NODATA  IN 0
REQUERY("V_Upper")
SELECT V_UPPER
GO TOP
BROWSE

CLOSE DATABASES ALL
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform