🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1684

Re: Good ADO Database Design

#1684
From: Viatcheslav V. Vassiliev
Date: Thu, 01 Apr 2004 16:33
33 lines
2208 bytes
Creating data components in data module you will be able to use them from
many forms. If you are using data components only on one form and do not
plan to use them in other forms/units you may place them on the form.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Heinz" <pingpongoz@nospam.hotmail.nospam.com> �������/�������� � ��������
���������: news:406c3935$1@newsgroups.borland.com...
>
> Hi Everyone,
>
> Doing some reading, I read that it is better to create a DataModule to put
your Database Controls vs. putting it on your individual user forms. Of
course, my Database Controls are ADO.
>
> Is this true? It does sound like a good way to go. Does anyone know of a
link I can learn from? I lost the one I was reading on the net and can't
find it anymore.
>
> It's definitely easier to leave the controls on my user forms than to
create a DataModule with all the Database Controls I need. But it's probably
not the way it should be done.
>
> Suggestions?
>
> Thanks,
> Heinz
Technical Details
Message-ID: <406c45c6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <406c3935$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,2cc3d00b8ed488f2
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-04-01 08:40:30 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <406c3935$1@newsgroups.borland.com>
Subject: Re: Good ADO Database Design
Date: Thu, 1 Apr 2004 20:33:13 +0400
Lines: 35
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 213.234.218.42
Message-ID: <406c45c6@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1080837574 213.234.218.42 (1 Apr 2004 08:39:34 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail