🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
5 messages
5 total messages Started by Tomislav Hundrić Thu, 23 Jun 2005 21:06
ADO begginer
#855
Author: Tomislav Hundrić
Date: Thu, 23 Jun 2005 21:06
4 lines
1079 bytes
Is there any good tutorial for absolute begginers. I have c++ builder 6 
and MS Access installed. I want to know what else do I need to install 
to get started!?
please help
Re: ADO begginer
#856
Author: Viatcheslav V. Vassiliev
Date: Fri, 24 Jun 2005 06:34
35 lines
2392 bytes
1. Create new project.
2. Drop TADOConnection on main form.
3. Press "ConnectionString button" (...).
4. Press "Build".
5. Choose "Microsoft Jet 4.0 OLE DB provider". Press "Next"
6. Set Data Source to "C:\Temp\Test.mdb" or to .mdb file you have.
7. Press Check Connection - it should be successfull.
8. Press OK.
9. Set LoginPrompt property to False;
10. Set Connected property to True.
11. Drop TADOTable on the form and set its Connection property to
ADOConnection1.
12. Set TableName to "YourTableName" - table name that exists in your
database.
13. Set Active property to True.
14. Add TDataSource and TDBGrid on the form, connect them to ADOTable1 as
usual (set DataSource1's DataSet property to ADOTable1 and DBGrid1's
DataSource property to DataSource1).

Now you should see your table in grid.

//------------------------------------------
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)

"Tomislav Hundric" <rif@net.hr> �������/�������� � �������� ���������: 
news:42bb2437@newsgroups.borland.com...
> Is there any good tutorial for absolute begginers. I have c++ builder 6 
> and MS Access installed. I want to know what else do I need to install to 
> get started!?
> please help 
Re: ADO begginer
#857
Author: Tomislav Hundrić
Date: Fri, 24 Jun 2005 09:05
46 lines
2788 bytes
That was what I needed, it works fine. Thank you very much. Can you tell 
me if ADO is solution for building application that would use database 
stored on a server which would be accessible to few users for entering 
data in it.


Viatcheslav V. Vassiliev wrote:
> 1. Create new project.
> 2. Drop TADOConnection on main form.
> 3. Press "ConnectionString button" (...).
> 4. Press "Build".
> 5. Choose "Microsoft Jet 4.0 OLE DB provider". Press "Next"
> 6. Set Data Source to "C:\Temp\Test.mdb" or to .mdb file you have.
> 7. Press Check Connection - it should be successfull.
> 8. Press OK.
> 9. Set LoginPrompt property to False;
> 10. Set Connected property to True.
> 11. Drop TADOTable on the form and set its Connection property to
> ADOConnection1.
> 12. Set TableName to "YourTableName" - table name that exists in your
> database.
> 13. Set Active property to True.
> 14. Add TDataSource and TDBGrid on the form, connect them to ADOTable1 as
> usual (set DataSource1's DataSet property to ADOTable1 and DBGrid1's
> DataSource property to DataSource1).
> 
> Now you should see your table in grid.
> 
> //------------------------------------------
> 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)
> 
> "Tomislav Hundric" <rif@net.hr> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: 
> news:42bb2437@newsgroups.borland.com...
> 
>>Is there any good tutorial for absolute begginers. I have c++ builder 6 
>>and MS Access installed. I want to know what else do I need to install to 
>>get started!?
>>please help 
> 
> 
> 
Re: ADO begginer
#858
Author: Viatcheslav V. Vassiliev
Date: Fri, 24 Jun 2005 11:50
57 lines
3266 bytes
Yes. But for this I would recommend MSDE instead of Access.

//------------------------------------------
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)

"Tomislav Hundric" <rif@net.hr> �������/�������� � �������� ���������: 
news:42bbccc7@newsgroups.borland.com...
> That was what I needed, it works fine. Thank you very much. Can you tell 
> me if ADO is solution for building application that would use database 
> stored on a server which would be accessible to few users for entering 
> data in it.
>
>
> Viatcheslav V. Vassiliev wrote:
>> 1. Create new project.
>> 2. Drop TADOConnection on main form.
>> 3. Press "ConnectionString button" (...).
>> 4. Press "Build".
>> 5. Choose "Microsoft Jet 4.0 OLE DB provider". Press "Next"
>> 6. Set Data Source to "C:\Temp\Test.mdb" or to .mdb file you have.
>> 7. Press Check Connection - it should be successfull.
>> 8. Press OK.
>> 9. Set LoginPrompt property to False;
>> 10. Set Connected property to True.
>> 11. Drop TADOTable on the form and set its Connection property to
>> ADOConnection1.
>> 12. Set TableName to "YourTableName" - table name that exists in your
>> database.
>> 13. Set Active property to True.
>> 14. Add TDataSource and TDBGrid on the form, connect them to ADOTable1 as
>> usual (set DataSource1's DataSet property to ADOTable1 and DBGrid1's
>> DataSource property to DataSource1).
>>
>> Now you should see your table in grid.
>>
>> //------------------------------------------
>> 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)
>>
>> "Tomislav Hundric" <rif@net.hr> OIIAYEI/OIIAYEIA ? II?IOONE OIAAOAYAA: 
>> news:42bb2437@newsgroups.borland.com...
>>
>>>Is there any good tutorial for absolute begginers. I have c++ builder 6 
>>>and MS Access installed. I want to know what else do I need to install to 
>>>get started!?
>>>please help
>>
>> 
Re: ADO begginer
#859
Author: Tomislav Hundrić
Date: Fri, 24 Jun 2005 12:46
65 lines
3460 bytes
Thanks. I really apprechiate your help.


Viatcheslav V. Vassiliev wrote:
> Yes. But for this I would recommend MSDE instead of Access.
> 
> //------------------------------------------
> 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)
> 
> "Tomislav Hundric" <rif@net.hr> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: 
> news:42bbccc7@newsgroups.borland.com...
> 
>>That was what I needed, it works fine. Thank you very much. Can you tell 
>>me if ADO is solution for building application that would use database 
>>stored on a server which would be accessible to few users for entering 
>>data in it.
>>
>>
>>Viatcheslav V. Vassiliev wrote:
>>
>>>1. Create new project.
>>>2. Drop TADOConnection on main form.
>>>3. Press "ConnectionString button" (...).
>>>4. Press "Build".
>>>5. Choose "Microsoft Jet 4.0 OLE DB provider". Press "Next"
>>>6. Set Data Source to "C:\Temp\Test.mdb" or to .mdb file you have.
>>>7. Press Check Connection - it should be successfull.
>>>8. Press OK.
>>>9. Set LoginPrompt property to False;
>>>10. Set Connected property to True.
>>>11. Drop TADOTable on the form and set its Connection property to
>>>ADOConnection1.
>>>12. Set TableName to "YourTableName" - table name that exists in your
>>>database.
>>>13. Set Active property to True.
>>>14. Add TDataSource and TDBGrid on the form, connect them to ADOTable1 as
>>>usual (set DataSource1's DataSet property to ADOTable1 and DBGrid1's
>>>DataSource property to DataSource1).
>>>
>>>Now you should see your table in grid.
>>>
>>>//------------------------------------------
>>>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)
>>>
>>>"Tomislav Hundric" <rif@net.hr> OIIAYEI/OIIAYEIA ? II?IOONE OIAAOAYAA: 
>>>news:42bb2437@newsgroups.borland.com...
>>>
>>>
>>>>Is there any good tutorial for absolute begginers. I have c++ builder 6 
>>>>and MS Access installed. I want to know what else do I need to install to 
>>>>get started!?
>>>>please help
>>>
>>>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads