Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, August 24, 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: how to set Locktype in Recorset Connection..?is it necessary..?
satz
Posts: 75
 
how to set Locktype in Recorset Connection..?is it necessary..?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Jun 08 10:34 AM
hi slx users,

i am using saleslogix 6.2
i am worried about SQl conflict that takes place..When Multiple users simultaneously execute the below Script..
Do i have to set the Locktypes in Recordset Execution..? or Saleslogix takes care of it....
Please advice me in this issue...i appreciate your help.
thank you.


set objSLXDB = Application.GetNewConnection
set recorset = CreateObject("ADODB.Recordset")
recorset.Open "update account_misc set slx_cluster='20',Account_clusterid=null where Accountid ='AOD9EA000WAS'", objSLXDB
recorset.close
set recorset =nothing
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: how to set Locktype in Recorset Connection..?is it necessary..?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Jun 08 12:03 AM
ADO is ADO. You're simply using ADO to access the SLX database. If you want to ensure a particular lock type, you need to specify it. The SLX provider does not do any sort of locking for you.
[Reply][Quote]
satz
Posts: 75
 
Re: how to set Locktype in Recorset Connection..?is it necessary..?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 08 2:04 AM
thanks for the suggestion....

Can you help me ,which lock types do i have to use for my script and how to set that for my script.....so that i can avoid conflicts,that will occur when multiple users execute my script simultaneously...
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: how to set Locktype in Recorset Connection..?is it necessary..?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 08 6:38 AM
Get a copy of ADO Programmer's Reference by David Sussman (it's advertised on this site).. and look at this article (on this site):

http://www.slxdeveloper.com/page.aspx?id=35&articleid=76

--
RJLedger - rjlSystems
"...Customer First.."
[Reply][Quote]
satz
Posts: 75
 
Re: how to set Locktype in Recorset Connection..?is it necessary..?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 08 7:05 AM
Thank you.Bob.

The Article is Great and Useful.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: how to set Locktype in Recorset Connection..?is it necessary..?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 08 10:39 AM
Quote:
Originally posted by Sathish

thanks for the suggestion....

Can you help me ,which lock types do i have to use for my script and how to set that for my script.....so that i can avoid conflicts,that will occur when multiple users execute my script simultaneously...


As RJL mentioned, the ADO Reference Book on the home page of this site is a great resource. A Google search would return many good results on the subject of ADO Lock Types as well http://www.google.com/search?hl=en&q=ADO+LockTypes&btnG=Google+Search

-Ryan
[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/24/2025 1:05:48 PM