Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old October 27th, 2003, 03:15 PM
ndcisiv ndcisiv is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Arizona
Posts: 1 ndcisiv User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
VB6.0 "Do Not Call" help

Here is my dilema. I work for a company that has a marketing department set up in the back and we have run into a problem. Because of the new "Do Not Call" list that went into effect across the U.S., there are people that our marketing department can no longer call. I need to figure out a way to do the following:

1. Read in a standardized .csv file that contains the following fields: (AreaCode, PhoneNumber, FirstName, LastName, StreetNumber, StreetDirection, Street, City, State, ZipCode).

2. Compare the AreaCode & PhoneNumber fields to a MS Access database containing only a single field (DNCPhone) and output each record where the AreaCode & PhoneNumber do not match any DNCPhone field in the other database, giving a "Do Not Call" free list of people for the marketers to call. (The file to be checked has area code and phone number as seperate fields, but the Do Not Call list database is a 10-digit format from the Government.)

Here is the problem. I'm an extreme beginner using VB6.0, and do not know databases well. I wrote a scrubbing program that inputted the .txt files and compared them, but when dealing with a list of over 1 Million Do Not Call entries, it was very slow and unpredictable.

Is there some simple step I'm missing that will allow me to do this easily within a database, or any advice anyone can give me on this little problem?

Reply With Quote
  #2  
Old October 27th, 2003, 08:14 PM
cleverpig cleverpig is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2003
Posts: 1,152 cleverpig User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via MSN to cleverpig
I recomment u to read the cvs file use excel object and import it into the ms sql DB or ms access(do it in order to strore the data and query the data).And then compare the AreaCode & PhoneNumber data you imported and a MS Access database containing only a single field..It's easy to do after u do the import work.

I think u will visit some vb&DB tutorial,if u have little knowledge about the vb & DB develope(http://www.garybeene.com/vb/tut-db.htm)..

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > VB6.0 "Do Not Call" help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway