Recent

Author Topic: Get Previous record ?  (Read 2254 times)

Weitentaaal

  • Hero Member
  • *****
  • Posts: 503
  • Weitental is a very beautiful garbage depot.
Get Previous record ?
« on: March 05, 2021, 09:58:03 am »
Hello :)

So how do i get the Previous Record of a TSQLQUERY ?
Lazarus: 2.0.12 x86_64-win64-win32/win64
Compiler Version: 3.2.2

Leledumbo

  • Hero Member
  • *****
  • Posts: 8747
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Get Previous record ?
« Reply #1 on: March 05, 2021, 11:20:25 am »
Hello :)

So how do i get the Previous Record of a TSQLQUERY ?
If there's Next, there should be Prior.

Weitentaaal

  • Hero Member
  • *****
  • Posts: 503
  • Weitental is a very beautiful garbage depot.
Re: Get Previous record ?
« Reply #2 on: March 05, 2021, 11:24:16 am »
Thanks, was looking for this before i Posted this but didn't found anything.
Tried again and Found it. Guess i just wrote it wrong. :-\
Lazarus: 2.0.12 x86_64-win64-win32/win64
Compiler Version: 3.2.2

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4459
  • I like bugs.
Re: Get Previous record ?
« Reply #3 on: March 05, 2021, 11:29:31 am »
Thanks, was looking for this before i Posted this but didn't found anything.
Tried again and Found it. Guess i just wrote it wrong. :-\
You should use code completion. From the list you can guess the right method by its name usually.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8747
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Get Previous record ?
« Reply #4 on: March 05, 2021, 03:40:58 pm »
Thanks, was looking for this before i Posted this but didn't found anything.
Tried again and Found it. Guess i just wrote it wrong. :-\
I guess the name Prior doesn't ring a bell for you, as commonly Next is paired with Prev instead of Prior.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Get Previous record ?
« Reply #5 on: March 05, 2021, 05:15:46 pm »
Guess i just wrote it wrong. :-\

Richard Pryor and SQL are not related!!

Zvoni

  • Hero Member
  • *****
  • Posts: 2319
Re: Get Previous record ?
« Reply #6 on: March 08, 2021, 07:56:23 am »
Guess i just wrote it wrong. :-\

Richard Pryor and SQL are not related!!

Really??
Superman 3 could have fooled me......  :D :D
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

 

TinyPortal © 2005-2018