Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the data PATH does not change the table?
Message
De
29/04/1999 14:48:35
 
 
À
29/04/1999 14:40:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00213577
Message ID:
00213580
Vues:
27
>I have a program in vfp50. One of the options in the program
>allows to you change the data PATH. I have tested the code that
>changes the data PATH and I have made sure the PATH is changed. I am using buffering with CURSORSERPROP(). After I change the data PATH, I refresh the screen, but the old data is still displayed. My code is:
>
>set path to &newpath
>do form myform (init event)
>select mytable
>thisform.refresh
>
>Anybody know what the problem is?

I belive the problem is that if you are using the DE of the form, the PATH of the tables is stored in the form in addition to the table name. So, no matter what the path or default is, you are alway looking at the same tables.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform