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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by stefanlechner

  1. stefanlechner

    Delphi Debugger

    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
  2. stefanlechner

    return selected field from a string grid

    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);
  3. stefanlechner

    Help

    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.
  4. stefanlechner

    STUCK......WITH.......strlcopy(),

    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
  5. stefanlechner

    RecNo question

    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...
  6. stefanlechner

    Line Too long error!!!

    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 ...
  7. stefanlechner

    Printing to a file

    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...

Part and Inventory Search

Back
Top