Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending from a table
Message
De
08/06/2001 13:23:31
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
08/06/2001 13:13:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00517066
Message ID:
00517073
Vues:
16
>Hello all,
>I apoligize if this has been asked before; I'm running in to a problem when appending to a table from a cursor.
>
>I select from one table in to a cursor in the following manner:
>
> SELECT blah AS blh,;
> BlahCid as cid, ; && Etc etc...
> BlahGubbins as Gubbins FROM ThisDb!thisTable into cursor temp
>
>I then select a table,zap it and append to it from the cursor
>
> SELECT SomeOtherTable
> ZAP
> APPEND FROM DBF("temp")
>
>This syntax works fine if I execute the code in selected portions but does not if I run it as one whole block... I've tried using temporary tables instead of a cursor to no avail. When running the complete block of code the cursor or temp table fails to get generated and then causes an error when I try and append from it.
>
>Any ideas or thoughts on how to get this to work?
>Thanks Andre

BTW if 'blah..' doesn't cause a true cursor creation you better add 'nofilter' clause.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform