8/22/2025 8:27:08 PM
|
|
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!
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
|
|
|
|
Nvarchar and Bit data types
Posted: 25 Jan 08 3:53 PM
|
I actually have two problems! 1. We had to transfer from varchar data types to nvarchar in our SQL database that is accessible in SLX by Views. But SLX treats nvarchar as blob and I can not drag-and-drop these fields into the neither data grids nor Lookups! For data grids I can create the layout via VB script. For Lookups I have to Cast each ncartchar filed to varchar in the view, design my lookup and then go back and take off the cast! But is a very time-consuming solution. I wondered if anybody has a better solution, I would appreciate it
2. SLX doesn’t support Bit as a Boolean data type in external data source Views. using Integer causes performance issues and Casting bit to integer makes the View as read only! My solution is to creating two views! One using Cast as integer for read only for checkboxes in SLX and the other for update via script. It should be easier way! P.S. I am using SLX 7.0.1 Thanks for you help
|
|
|
|
Re: Nvarchar and Bit data types
Posted: 06 Feb 08 2:15 PM
|
If you are using these as an outside view to another database, I would recommend simply not using the SalesLogix datagrid and using a standard grid. You can include common components and THESE can handle the nvarchar and bit datatypes fine.
Of course you have to control the grid thoroughly programmatically, but it seems like you have to go down that road anyway. |
|
|
| |
|
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!
|
|
|
|
|
|
|
|