Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Database container
Message
De
24/02/2004 03:33:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/02/2004 19:04:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00880121
Message ID:
00880182
Vues:
20
>Hi Everyone,
>
>I have been using DBC with remote view on SQL tables and have been using a routine to set the buffering for all the open view.
>
>But, once the database has been opened is there a way to open all views with some sort of FoxPro function similar to aused() for all files/views used?
>
>I'm trying to do just a select and requery() on the views and would like to eliminate MOST of the checks to see if the view is opened or not.
>
>For example if my DBC has 10 views in it is there a way to know, or issues a
>FoxPro command and open them all?
>
>Thanks, in advance.
>
>Craig
Craig,
You could get all views in a DBC :

Open data myDBC
lnViews = ADBObjects(aViews,"VIEW")

then loop to use them ( use ('myDBC!'+aViews[m.nIndex]) in 0 ) but they might have dependencies like parameters.
Why would you want to open all at once ?
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform