| View previous topic :: View next topic |
| Author |
Message |
modelaford General User

Joined: 03 Jan 2008 Posts: 7
|
Posted: Thu Jan 03, 2008 6:20 pm Post subject: Report question - SOLVED |
|
|
I've downloaded and installed the report extension, and by and large it works like I expect, but I have one nagging problem. In Access, it is possible to create a field like this:
=([City] & ", " & [State] & " " & [Zip Code])
That allows for nice formatting and combination of table fields. Is this possible in the Sun Report tool? If so, where do I go for some examples/or syntax information/directions?
Thanks in advnace,
Paul
Last edited by modelaford on Mon Jan 07, 2008 7:13 am; edited 1 time in total |
|
| Back to top |
|
 |
Sliderule Super User


Joined: 29 May 2004 Posts: 2477 Location: 3rd Rock From The Sun
|
Posted: Sat Jan 05, 2008 8:23 pm Post subject: |
|
|
Paul:
You have asked about using the Base extension Sun Report Builder . . . and . . . the ability to 'create a field'.
There are a few ways to do this . . . including:- Use a Query to create the field you desired
- Create a View that includes the field as you desire
- Use the Report Function to create the computed field
I will show you an example of the third choice. Please note . . . the web site below:
Now, in your example . . . from the Navigator ( press F5 or from the Menu: View -> Report Navigator ) I created from my database ( names slightly different than your example ) two functions ( note: no equal sign in the equation ) . . . - [FIRST_NAME] & " " & [LAST_NAME]
- [CITY] & ", " & [ST] & " " & [ZIP]
These 'computed fields' were defined in the report as BOTH Formula and Initial value shown below:
I hope this helps, please be sure to let me / us know.
Sliderule
Thanks to add [Solved] in your first post title (edit button) if your issue has been fixed / resolved. |
|
| Back to top |
|
 |
modelaford General User

Joined: 03 Jan 2008 Posts: 7
|
Posted: Mon Jan 07, 2008 5:57 am Post subject: |
|
|
| Perfect - thanks... that is exactly what I was looking for. This is great stuff!!!! |
|
| Back to top |
|
 |
|