I Have solved the problem.
For any newbie, here is what I did,
var
DbPath : String;
begin
//adotable1.Connection := adoconnection1;
DbPath := ExtractFilePath(Application.ExeName) + ExtractfileName('QuickiesContest.mdb');
adoconnection1.ConnectionString :=...
Hello all,
Am working on a db project and I was wondering how I can write with my code to pick the db path from the app path. Am using adoconnection with adoquery. I do be greatful if anyone can show me a code snipet.
wiredX
Hello all,
I just installed intraweb ver 7.0.19 and when I tried creating a test app. I get the following error:
Fatal Error] File not found: 'C:\Program Files\IntraWeb\Delphi\Arcana\IWGraphs\LibD7\IWAppForm.pas'
[Pascal Error] frmData.pas(1): Unable to invoke Code Parameters due to errors in...
Thank you all for your help. I have been able to get the code to run. I had to look at the code again and realised that:
1. At the point I was using the where clause,ie Where empid = ' + frmPayroll.txtEmpID.Text + ' , there is no value for the empid in the db...[mad]so was no need for the...
Hello All,
Am new to delphi and I do hope u can all help with my problem.
I need to insert a record into a table based on a certain where clause. I have written the following code:
with dm.Dset do
begin
commandText := 'Insert into tblDeductions' +
'(deductid' +...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.