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
   Preserving Custom Roles, Secured Actions, and Assignments in Infor CRM (formerly Saleslogix) Upgrades
When upgrading between levels of Infor CRM one of the tasks that is commonly needed is to run a batch/exe
Posted on Dec 16, 2014 by Kris Halsrud to Kris Halsrud's Blog
   Easily Showing and Hiding Tabs at Runtime in Infor CRM (Saleslogix)
Showing and hiding tabs in the Infor CRM (Saleslogix) client should be an easy thing. It should be someth
Posted on Dec 16, 2014 by Ryan Farley to Ryan Farley's Blog
   Checking Infor CRM (Saleslogix) Picklists for valid data
This week I received a question about a particular picklist. One of the picklist items, when chosen, wou
Posted on Dec 05, 2014 by Dale Richter to Infor CRM Questions & Answers
   InforCRM (formerly SalesLogix) Web Issues with McAfee VSE 8.8 Patch 4
We have see an issue with SalesLogix v8.0 and v8.1 web clients where randomly all users are bounced due t
Posted on Dec 05, 2014 by Mark Duthoy to SalesLogix Support
   Avoiding the Dirty Data Message When Programatically Redirecting to a Record in Infor CRM (Saleslogix)
In my last post I wrote about using the OnClientClick property of a control (or button) to run JavaScript
Posted on Dec 02, 2014 by Ryan Farley to Ryan Farley's Blog


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

All contents Copyright © 2014 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