Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My question of the week...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00169379
Message ID:
00169387
Vues:
23
Steve,

Where does the error occur? I suspect that one of you controls is having fits binding to an unopened table.

1) Why not just drop the table into the DE? Free tables work in there too.

2) If you like typing code, move the code you have to the Form.Load() method that way the table will be there for the controls as the construct.

>How can this error happen?
>
>Alias 'mytable' is not found.
>
>No tables in my Data Environment.
>Mytable is a Free Table inside my MYPROJECT.
>
>I read that for Free Tables, the Alias is the FILE.DBF name. So I thought that's what I was doing with the following. The filename is MYTABLE.DBF. And here is the code that I am using.
>I have a Form and in the Form Init is:
>
>SET EXCLUSIVE OFF
>USE mytable IN 0 SHARED
>...
>...
>SELECT mytable
>SET ORDER TO myid
>
>Thanks for your help. This seems like a no-brainer to me, but I must be the no-brainer on this one.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform