Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Saturday, August 16, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
8/16/2025 1:29:25 AM
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!
Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (
For version 7.2 and higher only
). View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix Web Platform & Application Architect
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: New detail tab not emptying fields when null.... (7.5)
Byrnes
Posts: 43
New detail tab not emptying fields when null.... (7.5)
Posted: 29 Oct 08 11:28 AM
I added a new tab to the account entity. Nothing fancy, just 10 or so fields after I extended the Account table. Three checkboxes and a bunch of numeric fields.
Data is saved correctly.
However, when I use the VCR buttons and go to the next record, any field that previously had a value in it (on the old record) stays on the screen IF the new record I browsed to has null in the database for that field.
Almost like it's not bound to the AccountID field - except that it works correctly if there is a data vale in that field - then it's refreshed properly. As far as I can tell this only effects the integer fields - not the boolean checkbox fields or the one text field (those fields are cleared properly when the data is null).
Is this a bug somewhere? Can anyone else reproduce this? Or is this just me and my inexperience missing a step creating this form / property / control....
[
Reply
][
Quote
]
Byrnes
Posts: 43
Re: New detail tab not emptying fields when null.... (7.5)
Posted: 30 Oct 08 3:32 PM
The only way around this that I've found is to simply not use the 'Numeric' control.
I checked out what Sage was doing with the 'Employees' field on the Details tab and it's a textbox with a little bit of C# - that's it.
So, all I did was convert my numerics to textboxes and whalla - it works perfectly...
So, beware of using the 'Numeric' controls is all I can say.....
[
Reply
][
Quote
]
Stephen Redmond
Posts: 190
Re: New detail tab not emptying fields when null.... (7.5)
Posted: 30 Oct 08 5:56 PM
Yes. I have seen some funny things happen with the numeric field. The text box is great for most uses.
Stephen
www.slxmaster.com
[
Reply
][
Quote
]
Alberto Chiesa
Posts: 49
Re: New detail tab not emptying fields when null.... (7.5)
Posted: 09 Nov 08 5:18 AM
Numeric field has exactly the same beaviour in 7.2.2
It's a bug in the Text set property. There is a if (String.IsNullorEmpty(value)).
So the Text property is not set if the value you provide is null...
You can use a textbox as Sage did (wisest choice) or manually set the formattedText property for the numeric control in the onload script. Either case you have to write down a small amount of code.
I found also that the numeric control has trouble firing onchange events (I can't say if this is due to the configuration I was using or what...).
So probably the better choice is not to use it.
[
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
|
page cache (param): 8/16/2025 1:31:23 AM