Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inserting into tables from xls spreadsheet
Message
 
To
12/07/2002 10:04:59
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00677519
Message ID:
00678100
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform