Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inserting into tables from xls spreadsheet
Message
 
À
12/07/2002 10:04:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00677519
Message ID:
00678100
Vues:
21
No. Conditions are on the field level.

Actualy what I would do in your case is something like this:

use (table_where_you_want_to_add_records)
=afield(atmp)
create curs tmpcurs from array atmp
release atmp
append from (Excel_file) xls

replace (column1_you_do_not_want) with "",;
(column2_you_do_not_want) with 0,;
(column3_you_do_not_want) with {}...

sele (table_where_you_want_to_add_records)
append from (dbf("tmpcurs"))


Regards


>when appending for the condition, can the condition be :
>where col1, col2, col4, col5
>
>thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform