Login / Register  search  syndication  about

          George Jensen's Blog

George Jensen on Reporting, Business Intelligence, Crystal Reports, Visual Analyzer, and more.

Looking at Stonefield Query for Sage SalesLogix (Part 6)

Again, I have to apologize for the rather long break between posts.  The Minnesota National Guard and I have been seeing quite a lot of each other over the past few months.  Reminds of a post I wrote over a year ago called "Supportive Commitment", what was written in that post is still true today.  This is a great company to work for and they are very supportive of the efforts of U.S. Military Forces. 

Today I want to look at creating a Formula field in Stonefield Query for Sage SalesLogix.  In the Report wizard you find the controls that allow you to create a formula field in Step 2 - Data Selection.  I added the Account Name to the list of fields selected for this report and then changed the table to the Address.

The formula that I am going to write for me demonstration will have address 1 display on the first line and the have the City/State/Zip field display on the second line all with in same formula field.  Under the list of available fields along the left, you will see the "Formula..." button .  Selecting this opens the "Formula Editor" below.

 I added the name for my formula as "Custom Address".  When I left the "Name" field the "Heading" auto populated, the value was still editable so I put a space between the two words. I then selected the button to the left of the formula space which brought up the "Expression Builder" dialog. 

To build my formula I selected the my two fields from the list of available fields for this table.  I then added some VB scripting that inserted a carriage return so the City/State/Zip field would list on teh second line.  I was able to test my syntax on this form which helped alot.  When I was satisfied with my formula I selected the "OK" button which returned me to the "Formula Editor" dialog.  Here I selected the "OK" button which then returned me to the "Report Wizard".   The list of available fields now contained my CustomAddress formula field, I moved the field into the list of Selected fields for this report.  I selected Next and moved to Step three which allows me to establish filters for this report. 

 

As you can see I only want Accounts that start with the letter "A".  I then previewed my report to see the results, here are the first few records.  

 

The one thing I played with is the filtering.  I decided I might want to write the report using other letters so I changed the filter to ask me what letter I wanted to filter by at run time.

When I previewed the report I was provided the following dialog so I could select the letter I wanted to use. 

Pretty quick and easy, real good stuff.

I am going to try and look at graphs in this environment and then we will probably wrap up this series of post.  Until then do good things and keep smiling.

 

 

 

What's This?
  
Bookmark and Share

About George Jensen

   George Jensen is a Senior Developer for Customer FX Corporation.


Related Content
   What is the name of the Complete an Activity Form in SalesLogix?
I am trying to customize the "Complete an Activity". However, I am unable to find it. Can someo
Posted on May 16, 2012 by SalesLogix Support to SalesLogix Questions & Answers
 
   Is it possible to do a SalesLogix Mail Merge on Lookup Results without saving them as a Group?
Is there a way to do a mail merge based on lookup results. For example, let's say I do a look up by C
Posted on May 16, 2012 by SalesLogix Support to SalesLogix Questions & Answers
 
   How does the Record Changes property work on a datagrid?
Can anyone explain why the 'record changes' property check box on a datagrid (in my case Opportun
Posted on May 14, 2012 by SalesLogix Support to SalesLogix Questions & Answers
 
   How can I create seperate icons that can be used depending on which remote office they are at? Are there specific parameters that I can use in the Shortcut?
I have users that travel between offices that are running SalesLogix remote office and would like to crea
Posted on May 14, 2012 by SalesLogix Support to SalesLogix Questions & Answers
 
   What is wrong with my sql Statement?
When I try to execute the following sql in script i get the error failed to parse sql. However, if i r
Posted on May 11, 2012 by SalesLogix Support to SalesLogix Questions & Answers
 
Comments

 

Twitter Trackbacks for Looking at Stonefield Query for Sage SalesLogix (Part 6) - George Jensen's Blog [customerfx.com] on Topsy.com said:

Pingback from  Twitter Trackbacks for                 Looking at Stonefield Query for Sage SalesLogix (Part 6) - George Jensen's Blog         [customerfx.com]        on Topsy.com

September 24, 2010 1:03 PM

Leave a Comment

(required)  
(optional)
(required)  
Add
All contents Copyright © 2012 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register