Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 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 - 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: ERROR: Dataset does not support bookmarks, which are required for multi-record data controls
Nick
Posts: 4
 
ERROR: Dataset does not support bookmarks, which are required for multi-record data controlsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Oct 15 11:51 PM

Anyone experienced this error? and how to resolve? Below is my sample code. My sql query has subquery and the Saleslogix ConnectionString does not support Subquery. In my code I am using SQL Native Client Connection.


 


  Dim cnn


    Dim rs


    Dim cmd


    Dim fld


   Dim col


 


    Set cnn =  CreateObject("ADODB.Connection")


    Set rs = Application.CreateObject("ADODB.Recordset")


    rs.CursorLocation = adUseClient


    rs.CursorType = adOpenStatic


    rs.LockType = adLockOptimistic


 


    cnn.ConnectionString =GetNativeConnection()


    cnn.Open


 


    Set rs = cnn.Execute(startQuery)


 


     For Each fld In rs.Fields


          Set col = grdTransactions.Columns.Add(0)


          col.FieldName = fld.Name


          col.Width=100


          col.Caption = fld.Name


        Next


 


    set grdTransactions.Recordset = rs '<---This part I get an error


    rs.Close

[Reply][Quote]
Nick
Posts: 4
 
Re: ERROR: Dataset does not support bookmarks, which are required for multi-record data controlsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Oct 15 7:15 AM

Issue has been resolved. Thanks


 

[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/22/2024 10:22:47 AM