Databases in Delphi - Connecting to a database using code

preview_player
Показать описание
We have a video that explains how to connect to a database from the Delphi environment. This video follows the same process except we create the connection dynamically by using code. Part of the Grade 11 CAPS syllabus for Information Technology.

Databases in Delphi Series

Editing Databases in Delphi Series
#MrLongEducation​ #Programming​ #Databases
Рекомендации по теме
Комментарии
Автор

wow, its the best video.
Q: how to use OOP with database?

michaeldaniels
Автор

Nice and clear. I like how you explain why you do what you do. I only wish you used consistent, recommended code indentation practices. It makes code more readable, and given that you are influencing a whole new generation of Delphi coders, it would be nice for them to start off using generally accepted code formatting standards (e.g., contents within begin/end code blocks should be indented).

staceyadams
Автор

Thank you,
Please Video to explain how to create a paradox or access table using code.

Younesofficiel
Автор

himister long my db is not being picked up when its in the same folder as my project it keeps looking for it in documents please help

stevenpaulsen
Автор

Hii Mr long i followed every instruction on this video but whenever i tried running it it told me that it cannot find the program but i did put it on the host application

theyluvvsande
Автор

When connecting the dbgrid to datasource, how do you specifiy which table you want to display ? Mines shows only one table

ebrahimismail
Автор

Hello. How to link two tables through ADOQuery? Database Access.

sevketiskender
Автор

Sir I'm unable to find the 'OnShow' event by the event panel, what should i do to be able to connect the dbgrid to the datasource

hipinq
Автор

Im getting a 'argument out of range' error. I know the problem is with the datasource not showing up but i dont know how to correct it

jaydenwilliams
Автор

Hi mister long I have connected my date base dynamically exactly as you did in the video but I am getting a Access violation adress error if you could please help.

mateodebeer
Автор

Hello mr long i have connected the database dynamically but im getting an Access violation adress error. The error is this line of code 'tblCD.connction := conCD;' thats the line of code it shows is the issuse when i run it through the debug, please help. Thank you

kaelinkesavjee
Автор

Hey Mr long, I did everything from this video but when I try to run it, it tells me that it could not find the file

jckson
Автор

Is it possible to insert the connections string in an ini file?

emcicco