|
-
Mar 25th, 2004, 05:13 AM
#1
Thread Starter
Hyperactive Member
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,
------
-
Mar 25th, 2004, 03:23 PM
#2
Hyperactive Member
Re: Display record horizontally
VB Code:
if x = "" then
x:= p ; '<---Remove the semicolon to get rid of the error
else
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|