Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening table with Alias
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00931372
Message ID:
00931393
Vues:
18
>Hi All,
>
>I have an issue when opening tables using ALIAS like below
>
>USE Fruit IN 0 ALIAS Fruit1
>
>If two separate forms with one grid that are using the same table (Fruit) and If I change Alias to Fruit2 for Form#2 like
>
>USE Fruit IN 0 ALIAS Fruit2
>
>VFP gave me an error. So, I use the same Alias for both forms and it works fine.
>
>Here the problem...
>
>If I make changes to the Fruit table in Form#1, and I have refresh button on Form#2. How could I code it so that when I switch to form#2 and I click on the refresh button to update its grid without ending up with blank grid on Form#1?
>
>TIA

Did you try with AGAIN?

USE Fruit IN 0 ALIAS Fruit1 AGAIN
USE Fruit IN 0 ALIAS Fruit2 AGAIN
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform