Re: Problems with Delphi 7
Bob Swart <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Organization | Bob Swart Training & Consultancy |
| Message-ID | <[email protected]> |
Hi ssspecter,
> The only thing I did was:
> - Create a TDataModule
Make sure the data module is in the list of auto-created forms. If it
isn't, then your form cannot use the data module (or anything on it)...
> - put 1 TADOConnect and 1 TADOTable in the DataModule
> - put in the onCreate method of the Form1:
> - DataModule.ADOConnect1.Connected:=true
> - DataModule.ADOTable1.Active:=True
>
> And then i try to run i get a "Access Violation at address ..." error
> type. What I am Doing Wrong????????
See Project | Options - Forms, and check to see if the data module is
autocreated. It probably isn't...
Groetjes,
Bob Swart (aka Dr.Bob - www.DrBob42.com)
--
Bob Swart Training & Consultancy (eBob42) Borland Technology Partner
webmaster UK Borland User Group (BUG) & DotNet Developers Group (DDG)
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada.
We have your brand: HP, Epson, Lexmark, Canon & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/kP..SB/49VGAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->
Delphi Tips & Tutorials...
http://www.delphicollection.com
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
---------------------------------------------------------------
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/