Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, November 30, 2024 
 
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 - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Nvarchar and Bit data types
Allen
Posts: 1
 
Nvarchar and Bit data typesYour last visit to this thread was on 1/1/1970 12:00:00 AM
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
[Reply][Quote]
Matt Dockins
Posts: 159
 
Re: Nvarchar and Bit data typesYour last visit to this thread was on 1/1/1970 12:00:00 AM
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.
[Reply][Quote]
Matt Dockins
Posts: 159
 
Re: Nvarchar and Bit data typesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Feb 08 2:15 PM
[EDIT] Duplicate Post
[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 © 2024 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): 11/30/2024 6:48:08 AM