Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening a table and select
Message
 
À
11/01/2006 08:02:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01085567
Message ID:
01085590
Vues:
36
I am sure you know this (but just in case you don't)
Instead of adding one extra line with several more characters to type you can write:
USE (FileName) IN 0 ALIAS MyFile
Which is equivalent to:
sele 0
USE (FileName) ALIAS MyFile
Einar


>Number one error, is to specify a work are by number!
>FileName = GETFILE('DBF')
>SELECT 0 && Selects the first available work area
>USE (FileName) ALIAS MyFile
>This may not be causing the error, but hardcoding a work area by number is risky!
>
>>What have I done wrong here?
>>
>>
>>FileName = GETFILE('DBF')
>>USE (FileName) IN 2 ALIAS MyFile
>>
>>
>>After opening this table in the load area of a form, a user can click on a map in the form.
>>The click event calls a details form. The details form opens fine. I have option button choices on the details form. When the buttons are clicked values are not replaced in the fields. Furthermore, modify memo does not work.
>>
>>If I hard code a table to the details form everything works fine, so I think the code above is causing the trouble.
>>
>>Any ideas?
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform