Notices



Reply
 
LinkBack Thread Tools Display Modes

Old 03-14-2008, 05:56 PM   #1 (permalink)
Junior Member

Join Date: Mar 2008
Posts: 4
Rep Power: 0 vargas is on a distinguished road

Blackbaud Products
- Financial Edge (FE)

Displaying Table entries descs in Project, Crystal reports

Hello, Need some help, using Crystal 8.5

Need to show in one page Project and theproject attibutes description for each project.

Project table is related to projectattributes and project attributes is ralted to table entries.
I created diferent formulas based on the code_tableid in the table entries. When I put projectid in crystal form is fine, then adding the formula fields based on the codetableid the fields are not grouped in the same form. data will show in different pages.
example.

project id =100 this id contains 3 attributes in the project attributes table. table entries contains descritions to related to project atrributes. created a formula A,B,C.
A = if({TABLEENTRIES.CODETABLESID}=1004) then {TABLEENTRIES.DESCRIPTION} else ""
B = if({TABLEENTRIES.CODETABLESID}=1005) then {TABLEENTRIES.DESCRIPTION} else ""
C = if({TABLEENTRIES.CODETABLESID}=1006) then {TABLEENTRIES.DESCRIPTION} else ""
Need one form for each project id showing theresults of 3 formulas A, B,C.

Currenlty It only shows one page showing formula A. next page showing formula B and third page showing formula C.

Any sugesstions. Thank you in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 03-17-2008, 12:25 PM   #2 (permalink)
Crystal Reports Guru

DrewAllen's Avatar

Join Date: May 2006
Location: Philadelphia, PA
Posts: 1,168
Rep Power: 4 DrewAllen is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Information Edge (TIE)
- API/VBA

It sounds like you have a page break after each detail section, when what you need is to create a group on the project and then move the page break to after the group footer.

Another option is to flatten the information for yourself. Currently, you are getting one record for each combination of project and attribute when it sounds like what you want is just one record for the project with separate fields for each attribute. I'm not sure if FE supports this the way that RE does, but you'd need to add three separate instances of the attribute table with the appropriate filters applied to only get one type of attribute per instance.

Drew
__________________
J. Drew Allen
Children's Hospital of Philadelphia

Crystal Reports and SQL Server Consultant

It is better to live your destiny imperfectly than to live an imitation of somebody else's life with perfection.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 03-17-2008, 02:54 PM   #3 (permalink)
Junior Member

Join Date: Mar 2008
Posts: 4
Rep Power: 0 vargas is on a distinguished road

Blackbaud Products
- Financial Edge (FE)

Thank you Drew, I followed your instructions. I do not have a break on the detail section. I also followed your instructions on creating a flatten the info. I added an alias for each attribute. How do you filter data for each attribute. The formula A is based on its own alias table, B and C.
A=if({TABLEENTRIES_COLLEGE.CODETABLESID}=1004) then{TABLEENTRIES_COLLEGE.DESCRIPTION} else ""
B=If({TABLEENTRIES_DEPARTMENT.CODETABLESID}= 1002) then{TABLEENTRIES_DEPARTMENT.DESCRIPTION} else ""
C=if({TABLEENTRIES_FUND.CODETABLESID}= 1003) then {TABLEENTRIES_FUND.DESCRIPTION} else ""

Is this correct? also how do I fileter for each attribute. thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 03-17-2008, 03:01 PM   #4 (permalink)
Crystal Reports Guru

DrewAllen's Avatar

Join Date: May 2006
Location: Philadelphia, PA
Posts: 1,168
Rep Power: 4 DrewAllen is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Information Edge (TIE)
- API/VBA

Are you using export or ODBC to pull in your data. This is something that you would do in your export. I don't have access to FE here, so I can't tell you what steps to follow.

Drew
__________________
J. Drew Allen
Children's Hospital of Philadelphia

Crystal Reports and SQL Server Consultant

It is better to live your destiny imperfectly than to live an imitation of somebody else's life with perfection.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 03-17-2008, 03:39 PM   #5 (permalink)
Junior Member

Join Date: Mar 2008
Posts: 4
Rep Power: 0 vargas is on a distinguished road

Blackbaud Products
- Financial Edge (FE)

thanks. I am using ODBC.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

Old 03-17-2008, 04:22 PM   #6 (permalink)
Crystal Reports Guru

DrewAllen's Avatar

Join Date: May 2006
Location: Philadelphia, PA
Posts: 1,168
Rep Power: 4 DrewAllen is on a distinguished road

Blackbaud Products
- Raiser's Edge (RE)
- Information Edge (TIE)
- API/VBA

If you can create views, then you should create a view for each of the attributes and then join to each of those views rather than the whole attribute table. You'll want to use a left outer join.

If you can't create views, you have a couple of options, but they can get complicated. From the simplest to the most complex:

Use three sub-reports: one for each attribute. Filter in the sub-report for the appropriate attribute.

Create three formulas: one for each attribute. In the group header (or footer) calculate the maximum of that formula.

Simulate views by editing the SQL statement. First use the Database expert to join to three copies of your attribute table using OUTER JOINS. Then go in and edit the SQL expression so that the join criteria for each of these tables includes the attribute description being equal to one of your three attributes. You'll want to use a different attribute description for each of the three tables. Once you do this, you'll no longer be able to use the GUI Database Expert to modify your report without losing these edits. This option is not for the faint of heart.

Drew
__________________
J. Drew Allen
Children's Hospital of Philadelphia

Crystal Reports and SQL Server Consultant

It is better to live your destiny imperfectly than to live an imitation of somebody else's life with perfection.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
project, project attributes, table entries


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Cheap Gas - Credit Card Consolidation - Mobile Phone - Internet Marketing
All times are GMT -6. The time now is 05:39 PM.

Miscellaneous


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by BBpixel Team 2008 :: jvbPlugin R1012.364.1

SEO by vBSEO 3.2.0 Copyright 2008 Blackbaud User SocietyAd Management by RedTyger
Inactive Reminders By Icora Web Design

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70