OK thanks a lot ..
But what if i want to get the total value for certain field ?? what should i do then ..
Ok let's take an example here:
Product //Table name
ProductID Price
P001 $5.00
P002 $7.00
P003 $9.00
Let's say in my program i want to get the Total of the...
CUSTOMER // TABLE NAME
CustID CustName
A001 Andy
A002 John
A003 Smith
A004 Lee
The data list above is store in the MSSQL database.. In my delphi program, i want to
extract/get the data for CustName where the custID is equal to A003.. So what SQL statement
should i write ?
I...
I put the following code for move the mouse cursor(loop),
procedure TForm1.FormCreate(Sender: TObject);
var i :integer;
begin
i:=0;
while i =0 do
begin
if i=0 then
begin
Mouse.CursorPos := Point(200,40);
sleep(5000);
i :=1;
end;
if i = 1 then
begin...
Ok .
Everything is done ..
and another problem arise ..
Once i click at the "Move" button, the cursor is move unstopply .. Cos i'm using the loop function to do it .. so i guess it might exhausted the RAM .. so is that any way i can improve it ??
Err .. prolly i can use the time to...
for ya info, i put the button on another form, and once i click at the bottom , i want the cursor to move up and down .. what should i do ?? i had try, but still can't make it .. cos i'm only newbie ..hope ya guys can help...thx again
i copy ur source code ...
and then i create another new form(form2) and put a button on that form ..
Once the user click at the button on form 2, I will call the Timer1Timer(Sender: TObject) procedure .... so what should i put as the parameter for (Sender : TObject) .. again .. thanks for ya...
Modification here ..
Once i click at the button, the cursor will move verticallly from top of the desktop to the bottom of the desktop .. And bottom to top .. the action is repeat and repeat until i click at "Stop" button on the main form .. hope ya guys can help.. thx..
Can anyone help me with the following problem:
I want to wite a program that can move the cursor around on the top
of the desktop after i click at the "Move" button on the main form...
the cursor should not be inside the form.. but on the top of the desktop
and outside the main form...
The following is the corresponded table :
Customer
----------------
CustomerID
CustName
ProductID
SupplierID
Product
----------------
ProductID
ProductName
ProductDesc
Supplier
----------------
SupplierID
SupplierName
SupplierTelNo
I'm try to join all the 3 tables(Join Customer table with...
Can somebody correct and give me the valid if statement? I have this:
if (WordWrap1.Checked := True) then begin
mainFrm.WordWrap1.Checked := False;
else
mainFrm.WordWrap1.Checked := True;
end;
end;
end;
Can somebody show me the right way? Thanks!
I have tried several delphi components for capturing movies , they al work fine.. BUT.. i want to change channels with that component to.. and i don't get it to work.
Does anyone know the answer to this problem ?
Thanks in advance :-)
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.