Re: display the record number on dbgrid




I work with delphi 7 with msAccess 2000.
In the OnCalcFields even set the value of the field to dataset.Recno
Brian, are you sure that RecNo will work for MS Access 2000?

With a clientside cursor it should work for most datasets returned by Access.
That is to say a number will show up reflecting the order of records in the
grid. The first record will probably be -1 until you have scrolled the grid but
the other numbers should be correct.
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.



Relevant Pages

  • Re: Excel Macro Comparison & Cell Highlighting
    ... > all agents and the week involved, highlighting their schedule on a ... > schedule, then determining if a team change is necessary or if they ... > macro to show the grid. ... > Brian Date Hours Blank *Grid* (This would be solid black if ...
    (microsoft.public.excel.programming)
  • Excel Macro Comparison & Cell Highlighting
    ... schedule, then determining if a team change is necessary or if they ... macro to show the grid. ... Brian Date Hours Blank *Grid* (This would be solid black if ...
    (microsoft.public.excel.programming)
  • crosswrd.dtx
    ... The 'crosswrd' package by Brian Hamilton Kelly was ported to LaTeX2e ... "Work is in hand to be able to handle the Mephisto/Azed type of grid, ... documentation updated to match. ...
    (comp.text.tex)
  • Re: insufficient key column information for updating or refreshing
    ... to reposition the selected grid row and such on that grid and then on the 2 ... It seems that refresh is faster when I can use it and only ... Brian Bushay (TeamB) ...
    (borland.public.delphi.database.ado)
  • Re: copy data from one record of table to other records!
    ... The record ('A0001' BRIAN M ...) is located at the first record of the grid window. ... And what 'oData' refers to? ... first record data to other records. ...
    (microsoft.public.fox.programmer.exchange)