Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, June 20, 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: String Length Limit
Ian Fitzpatrick
Posts: 146
 
String Length LimitYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Oct 07 5:03 PM
Is there a limit to the length of a string in VB? I'm trying to open a recordset with a very long sql string and I suspect that it is getting truncated. Does anyone know the max length of a string in VB?

Thanks,
Ian
[Reply][Quote]
Darron Cockram
Posts: 8
 
Re: String Length LimitYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Oct 07 8:10 AM
Hi Ian,

It's unlikely that you are hitting the limit as its around 2 billion characters. More details can be found at:

http://msdn2.microsoft.com/en-us/library/9e7a57cf.aspx

Are you building your SQL string dynamically? If so you may want to attach a debugger and make sure you are getting what you expect.

HTH.
Darron
[Reply][Quote]
Carla Tillman
Posts: 290
 
Re: String Length LimitYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Oct 07 11:26 AM
Hi ya Ian!

Are you running this through the SLX provider or straight in? Have you run a trace to verify truncation?

c
[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: String Length LimitYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Nov 07 12:08 PM
Double check the database field length. Maybe the input is being truncated to accommodate the table field length.

John G.
[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): 6/20/2025 11:19:33 PM