Information générale
Catégorie:
Visual FoxPro Toolkit pour .NET
Titre:
Handling Tables in VFP 7.0
New to Universal Thread and a beginner @ VFP, ver 7.0. I have several questions:
1. Is there any way to invoke the File Import Wizard from within a compiled application?
2. I have tried the Import command and it won’t import without specifying a database. Can you import just to a free table? Also, the following command does not create a table “test” from the Excel Worksheet imscc: IMPORT FROM imscc DATABASE t NAME test TYPE xls. Instead imscc is converted into a table and there is no test.dbf? What’s happening?
3. The discussion of when to use the &cvar and when to use the (cvar) is unclear. The REPLACE WITH command seems only to accept the “&”. Is this correct, or am I doing something wrong? When trying to replace the value of a field in one table with the value in another, I have had to first assign the name of the field to a cvar1 in the 1st table and cvar2 to the desired field in the 2nd, then use the & symbol as follows:
REPLACE &varr1 WITH B.&var2. Is this the correct procedure, or is there a simpler way?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement