If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > paste append from excel to access - pls help

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-30-03, 11:14
bluejaypsu bluejaypsu is offline
Registered User
 
Join Date: Sep 2003
Posts: 1
paste append from excel to access - pls help

OK, I'm a little new at the DB side VB and I need help making a simple script.

I have an excel spreadsheet that uploads to an access front end of a SQL server.
I have 2 tables: [items] (which is single column where every item is a primary key), and a second called [requests] (primary key is autonumbered)

I need a script that will allow me to upload a column from excel to [items], but ignore the duplicates. I know a paste append function works, but I don't know how to write script for it. I've been using the ADOVB library but I only know how to add lines, not search if a line is duplicated. Any advise is greatly appreciated.
thanks
-jay
Reply With Quote
  #2 (permalink)  
Old 10-01-03, 12:12
RickKnight RickKnight is offline
Registered User
 
Join Date: Sep 2003
Location: Cincinnati, Oh USA
Posts: 203
See "Import Microsoft Excel data into Microsoft Access" in Excel help files.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On