Problems with Delphi 7
"ssspecter" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <[email protected]> |
I installed Delphi 7 yesterday and started doing a database program, but I got stuck in the very begining. The only thing I did was: - Create a TDataModule - 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???????? Os is Delphi 7 bugged? When I delete these two command lines all seens ok I tried other things but it appears i cant reference the objects in DataModule trought Form1 Can Someone help me? ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/sOykFB/k9VGAA/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/