G
Guest
Hi all,
I need to build an import form. I have 2 list boxes, first called lstSource
with the values of columns headers from an excel file (the excel file is not
always have same column headers) and lstDestination with values of fieldname
of a fixed table name.
lstSource lstDestination
Company AddressID
Title Company
First Name Title
Middle Initial FirstName
Last Name MI
Address LastName
City Address
State City
ZipCode StateorProvince
PostalCode
Notes
LastModified
Now I would like the user can drag value from lstSource to lstDestination or
switch (move up and down) the order of lstDestination list in order to match
the column of lstSource... or what ever can map the 2 ... then when user
finish that and hit a command Import button, it will append data from excel
file to table corresponding...
Please give me some advice how to do it...
Thanks in advance...
VP
I need to build an import form. I have 2 list boxes, first called lstSource
with the values of columns headers from an excel file (the excel file is not
always have same column headers) and lstDestination with values of fieldname
of a fixed table name.
lstSource lstDestination
Company AddressID
Title Company
First Name Title
Middle Initial FirstName
Last Name MI
Address LastName
City Address
State City
ZipCode StateorProvince
PostalCode
Notes
LastModified
Now I would like the user can drag value from lstSource to lstDestination or
switch (move up and down) the order of lstDestination list in order to match
the column of lstSource... or what ever can map the 2 ... then when user
finish that and hit a command Import button, it will append data from excel
file to table corresponding...
Please give me some advice how to do it...
Thanks in advance...
VP