Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use alias globally
Message
De
17/09/2005 07:02:01
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
16/09/2005 14:05:37
John Marrone
Bloodstock Research Inc.
Lexington, Kentucky, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01050421
Message ID:
01050565
Vues:
10
>Hi All
>
>I have this code, and I am in another procedure importing a text file which I do by reading the file and putting the data in these tables. But when I do a slect rac the program errors out because of no such alias. How can you open tables in your main startup procedure and be able to address the alias anywhere in the program??? Thanks for any help..
>
>John
>
>use races order tag raceid of races.cdx alias rac in 0
>use entries order tag raceidhrs of entries.cdx alias ent in 0
>use pplines order tag hrsname of pplines.cdx alias ppl in 0

John,
I think this is startup program. First one opens in workarea 1. Your call probably has something like:
use myTable
w/o a preceding select 0. Workarea still being 1 it would then close rac and open myTable there.
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