PaidtheUmpire
Programmer
I am currently using Delphi 7's ADO database connection system, in my project and I am wondering how to do the following SQL query in the middle of a button click procedure.
SELECT Client_Reference_Number
FROM SimCard_Details
WHERE IMSI_Number = IMSI AND Active = Yes;
// The only variable here given from the ButtonClick procedure is 'IMSI'
This should give a total of ONE result but i am unsure how to get the resulting value into the 'CRN' variable.
SELECT Client_Reference_Number
FROM SimCard_Details
WHERE IMSI_Number = IMSI AND Active = Yes;
// The only variable here given from the ButtonClick procedure is 'IMSI'
This should give a total of ONE result but i am unsure how to get the resulting value into the 'CRN' variable.