Delphi-Kylix
  Home arrow Delphi-Kylix arrow Page 2 - Building a Mailing List with Borland Delph...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DELPHI-KYLIX

Building a Mailing List with Borland Delphi
By: Leidago
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2006-09-27

    Table of Contents:
  • Building a Mailing List with Borland Delphi
  • The Database
  • Building the GUI for the Application
  • How the program works
  • Status reports

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Building a Mailing List with Borland Delphi - The Database


    (Page 2 of 5 )

    It is up to you as to how much information about a contact you want to store in the database. In our database, we are only going to store the name, email address and group ID of a contact.

    Start up MS Access and create a new database called "mailinglist." Then create a table called contacts. This table will have the following four fields:

    Field Name

    Data type

    eid

    Autonumber (primary key)

    name

    text

    email

    text

    gid

    number

    The eid field will generate a unique number for each new contact that is created. This is important because we are going to use this number to identify the contact when it has to be placed in a group. The only other field that I think needs explaining is the "gid" field. This field will identify the group to which the contact belongs. If a contact does not belong to any group, this field will contain a zero. Below is a screen shot of the contacts table in design view:

    The next table we need to create is the groups table. This table will only contain two fields:

    Field Name

    Data type

    groupID

    Autonumber (primary key)

    groupname

    text

    Below is a screen shot of the groups table in design view:

    More Delphi-Kylix Articles
    More By Leidago


       · I have tested the sample code included, with Delphi 6 and 7 and it worked fine. If...
       · Hi, i tried the download file but i get the following error: [Fatal Error]...
     

    DELPHI-KYLIX ARTICLES

    - Building a Server Application for an Interne...
    - Building an Internet Access Control Applicat...
    - Client Dataset: Working with Data Packets an...
    - Using the Client Dataset in an N-Tiered Appl...
    - Using the Client Dataset in Two-Tiered Clien...
    - Using the Client Dataset in File-Based Archi...
    - Demystifying the Client Dataset
    - Working with INI Files in Delphi
    - Creating Data Link (UDL) Files in Delphi
    - Looking at the Details for an Invoicing Appl...
    - Invoicing in Delphi: Show Me the Money
    - Saving Images and Binary Files to a Database...
    - Saving Files to a Database using Delphi: Sav...
    - Creating CF Applications and Integrating a S...
    - Using Try and Finally to Help Prevent Memory...







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