Hi
In Crystal Tab Report i am displaying Account code in Rows. But i want to display Account name with it also. But both in separate columns
Thanks
Hi
In Crystal Tab Report i am displaying Account code in Rows. But i want to display Account name with it also. But both in separate columns
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Daniel WrightRank #2,947 · 489 reputationPosted Mar 17, 2025, 4:29 AM EDT
Hello! It's great to hear about your interest in Crystal report Cross tab functionality. It seems like you have a specific requirement regarding displaying Account code and Account name in separate columns within your Cross tab report.
To achieve this in Crystal Reports Cross tab, you can follow these steps:
1. Ensure that your Cross tab report is already displaying the Account code in rows.
2. Add a new column in the Cross tab to display the Account name. You can do this by inserting a new Cross tab column.
3. Edit the formula for the new column to show the corresponding Account name based on the Account code. You can use a formula to look up the Account name based on the Account code.
Here's a simplified example of how you can achieve this in a Crystal report Cross tab:
// Create a formula to display the Account name based on the Account code // Assuming you have a dataset with AccountCode and AccountName fields StringVar AccountName; if {YourDataset.AccountCode} = "123" then AccountName := "Account Name 1" else if {YourDataset.AccountCode} = "456" then AccountName := "Account Name 2" else AccountName := "Other Account"; AccountNameBy using a formula like the one above in a new column in your Cross tab, you can display the Account name alongside the Account code.
I hope this helps you achieve the desired layout in your Crystal report Cross tab. If you have any more questions or need further clarification, feel free to ask!