Why not use the objects, they simplify things....
Why not use the objects, they simplify things....
DAO and ADO are both very easy to use..
as for SQL, if you don't like it forget databases.
It really isn't that hard once you get used to it.
using the objects (conenctions) as mentioned above is the prefered way for experienced programmers, however the Objects are prefered if you plan to link to a one of the ADO / DAO aware GUI controls (ie: FlexGrid / dbGrid etc...)
Easy conn string creation
Don't know if this will help you but this is how i used to make connection strings.
1. Right click on desktop and create new text document
2. Open the document, Save As, drop down 'Save as types' make sure select 'All files'
3. CXhange 'File Name' to "test.udl"...name can be anything just make sure it has .udl extension
4. click ok, then close text file, should have a file on desktop called test.udl
5. double click it , click on provider tab and choose depending on DB you are using. Then click on Connection tab and fill in your login details and test your connection.
6. Once successful, click OK, will get a message saying you are saving as unencrypted text but we will delete later so just say OK
7. Now just drop the file into Notepad and you will see your ready made connection string
Seems long on instructions but i find it really helps me build strings. Just remember to delete this UDl so nobody gets their grubby hands on your details