Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with anything delphi related 1

Status
Not open for further replies.

OzObdrOl

Programmer
Sep 29, 2001
9
ZA
Hello

I have quite the major problem.
I recently switched from Turbo Pascal to Borland's Delphi
and I'm totally lost. My question is this: Is there any way I can teach myself how to use it without purchasing a book? Or am I crazy? I've tried this way, but like I said: I'm lost. If there is no other way, is there perhaps anyone that would help me in some way (Classes through the net, websites, visit me in South-Africa [Nuts]).
Please, I'm really desperate.

OzObdrOl OzObdrOl
 
You can try where they have some good explanations, but if you have enough money to browse the internet, a good book is no luxury, unless somebody else pays your bills. A good book doesn't need to be expensive.
I had been programming for years in turbo pascal and when I got to Delphi, I was lost too.
I bought Teach yourself Delphi 3 in 21 days from Sam's Publishing and I launched of.
If you are new to Delphi, this book is the one you need to start.


S. van Els
SAvanEls@cq-link.sr
 
Using OLD OLD Fox Pro and I am trying get rid of the default 12/30/1899 when the field is really empty instead of returning the 12/30/1899.

I have tried

procedure TForm1.Query1CalcFields(DataSet: TDataSet);
begin
with query1 do begin
if fieldbyname('term_date').AsDateTime<>0 then

FieldByName('CalcField').AsdAteTime:=fieldbyname('term_date').AsDateTime
else FieldByName('CalcField').Clear;
end;
end;
end.
//
with query1 do begin
if FormatDateTime('mm/dd/yyyy', FieldByName('term_date').AsDateTime) =
'12/30/1899'
Then FieldByName('term_date').Clear;
//


And a few other things as well. Nothing seems to return the fields a blank.


Cheers


 
Using OLD OLD Fox Pro and I am trying get rid of the default 12/30/1899 when the field is really empty instead of returning the 12/30/1899.

I have tried

procedure TForm1.Query1CalcFields(DataSet: TDataSet);
begin
with query1 do begin
if fieldbyname('term_date').AsDateTime<>0 then

FieldByName('CalcField').AsdAteTime:=fieldbyname('term_date').AsDateTime
else FieldByName('CalcField').Clear;
end;
end;
end.
//
with query1 do begin
if FormatDateTime('mm/dd/yyyy', FieldByName('term_date').AsDateTime) =
'12/30/1899'
Then FieldByName('term_date').Clear;
//


And a few other things as well. Nothing seems to return the fields as blank.


Cheers


 
Because I am originally from Cape Town (now living in Albury Australia thank God!) I am prepared to help you step-by-step.

Also I have written a course of lectures covering 20 days
to teach students how to get going.

What do you want to know first?

But DO consider buying &quot;Mastering Delphi 6&quot; by Marco
Cantu. It cost me $140 here and will probably cost you R560
there. But it is worth its weight in gold.
It comes with a CD-ROM with lots of WORKING examples.
Plus it has the entire book as an &quot;e-book&quot; which you can install on your H/D.

Also look for Delphi4 Bible by Tom Swan.
Also comes with a CD-ROM with lots of examples.

Terry
 
Contact me directly at delphiman@bigpond.com.
Let me know what version of Delphi you have installed.

Terry Theunissen.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top