Recent

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

Weitentaaal

  • Full Member
  • ***
  • Posts: 160
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.6 x86_64-win64-win32/win64
FPC-Version: 3.0.4
Compiler Version: 3.2.0

Leledumbo

  • Hero Member
  • *****
  • Posts: 8319
  • 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

  • Full Member
  • ***
  • Posts: 160
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.6 x86_64-win64-win32/win64
FPC-Version: 3.0.4
Compiler Version: 3.2.0

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4002
  • 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: 8319
  • 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: 2294
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: 529
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 IDE to find them,
One Code to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
People call me crazy, because i'm jumping out of perfectly fine aircraft

 

TinyPortal © 2005-2018