Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, August 23, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: SalesLogix 7.2 Service Pack 2 changes the way data grids format fieldnames
Kris Halsrud
Posts: 88
 
SalesLogix 7.2 Service Pack 2 changes the way data grids format fieldnamesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Mar 08 11:15 AM
FYI, when using a sub or funtion that has fieldname as a parameter (Such as a datagrid's OnEditing event) the value returned for the fieldname after SP2 is installed is now referenced as [TABLE ALIAS].[FIELD NAME] instead of [TABLE ALIAS]_[FIELD NAME]. (A3.ACCOUNT instead of A3_ACCOUNT).

Any code that relied on a field name that worked prior to SP2, like "if fieldname = "A3_ACCOUNT" then...", will no longer function after SP2 without altering the code.

The SQL field aliases still show in the old format "A3_ACCOUNT" when looking at the SQL of the data grid. I could not find this as a documented change in the 7.2.2 fixed issue list.
[Reply][Quote]
Matt Dockins
Posts: 159
 
Re: SalesLogix 7.2 Service Pack 2 changes the way data grids format fieldnamesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 08 12:25 AM
That's just great, I love it when Sage changes something that's been commonly used for the past several years so you have to go back and update code.

P.S. I couldn't find the forum's tags.
[Reply][Quote]
Kevin Ferguson
Posts: 9
 
Re: SalesLogix 7.2 Service Pack 2 changes the way data grids format fieldnamesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 08 9:36 AM
I can confirm this issue. Fortunately for me, this is only an issue on a development database that has not yet been put live, but I have got 7.2.2 upgrades in my work pipeline in the near future, so it will be an issue there. As stated, it's a pity this isn't mentioned anywhere in the upgrade docs.
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: SalesLogix 7.2 Service Pack 2 changes the way data grids format fieldnamesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 08 1:39 PM
Well the logic is pretty sound though. Instead of *forcing* the A3 prefix, which is defined by the grid at almost random, you just have to worry about the column name as it should be.

The real problem? Waiting until SP2! If it was fixed in 7.2 it'd be less of a hassle but now along with your service pack upgrade you have to touch up a bunch of old code? Not cool. I expect it going to a major revision, not so much a service pack or hotfix.
[Reply][Quote]
Nicolas Galler
Posts: 93
 
Re: SalesLogix 7.2 Service Pack 2 changes the way data grids format fieldnamesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 08 8:07 PM
Well, I dont know about it being more logical, it seems to me A3.FIELDNAME is just as random as A3_FIELDNAME.

Does that affect other APIs like grid.GetCurrentField?
[Reply][Quote]
Robert Levine
Posts: 132
 
Re: SalesLogix 7.2 Service Pack 2 changes the way data grids format fieldnamesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Mar 08 8:30 AM
At the very least, Sage should have put out a notice of this change. And there are a lot of production Slx databases out there which will be affected.
[Reply][Quote]
Kris Halsrud
Posts: 88
 
Re: SalesLogix 7.2 Service Pack 2 changes the way data grids format fieldnamesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Mar 08 12:19 PM
The crappy thing is that grid.GetCurrentField still uses A3_FIELDNAME. So its a mix and match thing.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/23/2025 10:24:25 AM