Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting from a Cursor into an external .dbf
Message
De
06/04/2004 13:46:47
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/04/2004 13:29:28
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00892627
Message ID:
00892689
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>Here is what I have:
>
> lcFile = locfile('c:\transact.dbf')
> use (m.lcFile)
> append from dbf('SMTRNSTM')
>

>
>Where SMTRNSTM is the name of my cursor, and I get an "alias is not found" Program error. I tried changing the dbf in the last line to cursor, but I got an invalid properties error or something of that sort.

Probably you're doing that w/o selecting an empty area (and I bet where your cursor is) causing the cursor to close.
	lcFile = locfile('c:\transact.dbf')
        select 0
        use (m.lcFile)
	append from dbf('SMTRNSTM')
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform