Hi,
I have written a few programs in Delphi now but never used database applications before. Could I explain the concept behind what I want to achieve, and ask for advice on the best approach to take / techniques to use, plus any usueful references before I go off and have a stab.
Basically I have a large quantity of references and useful documents on my HD, most of which I have forgotten about! What I would like to develop is a simple program allowing me to organise these. A local database will contain data including:
Subject - broad categories
Keyword - Specialised areas within subject
Comment on reference - 'Memory jogger' text comment
Location of reference - Where it is on my HD, plus file type
The program will require me to login, then present me with a form where I can either:
1) Add data to the local database (add a new reference, perhaps by browsing to it then entering subject, keyword and comment)
2) Search for either subject, keyword or text within the comment field
3) Display result of search and display chosen reference (most are PDFs)
And perhaps also display all keywords within a subject, or an A to Z list of subjects and keywords.
So, I need a simple front end login, then a form to lead on to either data entry, search and display, or A to Z listings. Choosing an option would lead to a new form, but I can drop back to main menu at any time.
I plan to just implement this locally with a DB on my HD.
Questions:
1) Should I use Access to construct the DB and link to this from Delphi?
2) What is the best DB structure to use in Delphi for this plan - ADO, DB Express etc.
3) How can I write a quick and efficient search routine?
Is it possible to produce a system like MS help where as you type a term a list updates according to the letters you type?
Thanks.
PS - Have also written ASP DB applications so have some experience of battling with Access!
I have written a few programs in Delphi now but never used database applications before. Could I explain the concept behind what I want to achieve, and ask for advice on the best approach to take / techniques to use, plus any usueful references before I go off and have a stab.
Basically I have a large quantity of references and useful documents on my HD, most of which I have forgotten about! What I would like to develop is a simple program allowing me to organise these. A local database will contain data including:
Subject - broad categories
Keyword - Specialised areas within subject
Comment on reference - 'Memory jogger' text comment
Location of reference - Where it is on my HD, plus file type
The program will require me to login, then present me with a form where I can either:
1) Add data to the local database (add a new reference, perhaps by browsing to it then entering subject, keyword and comment)
2) Search for either subject, keyword or text within the comment field
3) Display result of search and display chosen reference (most are PDFs)
And perhaps also display all keywords within a subject, or an A to Z list of subjects and keywords.
So, I need a simple front end login, then a form to lead on to either data entry, search and display, or A to Z listings. Choosing an option would lead to a new form, but I can drop back to main menu at any time.
I plan to just implement this locally with a DB on my HD.
Questions:
1) Should I use Access to construct the DB and link to this from Delphi?
2) What is the best DB structure to use in Delphi for this plan - ADO, DB Express etc.
3) How can I write a quick and efficient search routine?
Is it possible to produce a system like MS help where as you type a term a list updates according to the letters you type?
Thanks.
PS - Have also written ASP DB applications so have some experience of battling with Access!