Recent

Author Topic: SQLQuery Access Record by Index  (Read 1488 times)

heejit

  • Full Member
  • ***
  • Posts: 245
SQLQuery Access Record by Index
« on: February 08, 2016, 08:35:21 pm »
Is it possible to access Record by index from TSQLQuery

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: SQLQuery Access Record by Index
« Reply #1 on: February 09, 2016, 09:18:00 am »
No. TSQLQuery is derived from TDataset and has no index. It could be internally, but I don't looked to TDatalink really how it's build. As far as I know i't a kind of Tlist where each record has his own pointer to an object. But the index if TList is 'hidden'.
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

heejit

  • Full Member
  • ***
  • Posts: 245
Re: SQLQuery Access Record by Index
« Reply #2 on: February 09, 2016, 09:34:02 am »
Thanks

 

TinyPortal © 2005-2018