Results 1 to 2 of 2

Thread: Display record horizontally

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2003
    Location
    india
    Posts
    273

    Red face Display record horizontally

    Hi dear,
    I am trying to print tha data in horizonatl fashion in crystalreport.
    for that I have written folowing code .
    when i am using this code i am getting the complile error that is "Remaining code is not part of the formula"

    looking at this code ,I am not sure this will give me proper output because everytime my x and p variable will reset to null and I will get the single value in the x variable.
    I want to know that is there any static variable where i can stored the value.

    any body out there can give the proper solution is very well appreciated.

    stringvar x:="";
    stringvar p:="";
    p := {MKT_PROCToSell_Sub.shade};

    if x = "" then
    x:= p ;
    else
    x:= x + p ;

    -------
    blue

    thanks in advance,


    ------

  2. #2
    Hyperactive Member ARPRINCE's Avatar
    Join Date
    Mar 2003
    Location
    Pinoy in NJ
    Posts
    381

    Re: Display record horizontally

    VB Code:
    1. if x = "" then
    2. x:= p ;  '<---Remove the semicolon to get rid of the error
    3. else
    4. x:= x + p ;

Posting Permissions

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



Click Here to Expand Forum to Full Width