Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - A question about VIEWS.
Message
De
30/05/1997 09:23:20
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
 
 
À
30/05/1997 09:13:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00034234
Message ID:
00034235
Vues:
27
>How do you switch to another work area, if the work area is a VIEW?
>I am use to SELECT mytable.

Actually, SELECT does not key on the table name, it keys on the alias, so it matters not if the work area contains a view, cursor or table.

try ..
SELECT myAlias

helpful hint...
In any function that requires selecting a new work area you may consider using this convention...
LOCAL lcAlias

lcAlias = ALIAS()

function code
.
.
.

IF !EMPTY(lcAlias)
SELECT (lcAlias)
ENDIF

HTH
Matt McDonnell
...building a better mousetrap with moldy cheese...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform