Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2004
    Posts
    4

    Question Unanswered: Get the next value in formula, moving cursor

    Hi folks,

    I have in my section a two fielddobjects, I need to show in the first of them the actual value and in the second the next value. Is there any posibility of moving the cursor ?
    For example if i need in the third field show the next value of the next value..


    Thanks a lot.

  2. #2
    Join Date
    Aug 2003
    Location
    West
    Posts
    101

    Re: Get the next value in formula, moving cursor

    Originally posted by juppik
    Hi folks,

    I have in my section a two fielddobjects, I need to show in the first of them the actual value and in the second the next value. Is there any posibility of moving the cursor ?
    For example if i need in the third field show the next value of the next value..


    Thanks a lot.
    Are you using Crystal? You can use the Function Next(field name)

  3. #3
    Join Date
    Feb 2004
    Posts
    4

    Re: Get the next value in formula, moving cursor

    Originally posted by Ida Hoe
    Are you using Crystal? You can use the Function Next(field name)
    yes I am using Crystal, but if I need the 3 or more next values ?
    For example in the database are names:

    1 George
    2 John
    3 Peter
    4 Tomas

    And the cursor is in the 1. row. With function Next( name) I get the name John. But I need to get the value of the 3. and 4. row from the cursor. Something like

    @MyVar = Next(Next(Next( name )))
    or
    for i = 1 to 3 Cursor.Next

    Thanks,
    t.

  4. #4
    Join Date
    Sep 2003
    Posts
    2
    I've the same problem, is it possible to it??
    Quote Originally Posted by juppik
    yes I am using Crystal, but if I need the 3 or more next values ?
    For example in the database are names:

    1 George
    2 John
    3 Peter
    4 Tomas

    And the cursor is in the 1. row. With function Next( name) I get the name John. But I need to get the value of the 3. and 4. row from the cursor. Something like

    @MyVar = Next(Next(Next( name )))
    or
    for i = 1 to 3 Cursor.Next

    Thanks,
    t.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •