as I know there is only one debugger that can debug delphi code on source level. Borlands Turbo Debugger. You can get it from borlands web site.
But tell my , why do you need another debugger. Maybe the functionality you're searching for is already there.
Stefan
TStringGrid.Row returns the selected Row.
TStringGrid.Col returns the selected Column.
The Cell you can get in the MouseDown or MouseUp event using the
TStringGrid.MouseToCell(X, Y: Integer; var ACol, ARow: Longint);
this depends on the Database.
MsAccess and SQLServer (Paradox I think too) have AutoInc Field types.
Using Oracle you have to use a sequence to generate a unique number.
Usin Interbase there is a feature like oracle sequences but I don' remember me.
Just use a TStringList
sl := TStringlist.Create;
sl.CommaText := 20001,20002,20003,20004;
for i := 0 to sl.Count-1 do begin
ShowMessage(sl[i]);
end;
that's it
The database doesn't matter. Each dataset has a property RecordCount not RecordNumber >:-<.
The only fact you have to care about is that RecordCount returns the number of selected records. After defining a Filter you will get the numer of records in that filter !
Using a TQuery the RecordCount...
You have some non printable characters in your source, probably.
I had the same problem using sources from the fpc project.
The line that shows the error does not realy need to be the wrong line.
Try to write a smal prog to scan the source
sample code :
var
sl : TStringList;
s ...
Hi all,
I added the function PrintToFile instead of BeginDoc to the standard TPrinter component. It does nothing else than also fill in the lpszOutputName in the TDocInfo structure.
That's no problem and works fine.
But now I've a general question about printing to files.
Does windows block...
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.