Tips and Tricks IV: The Voyage Home.
- SalesLogix performance will suffer with cursors being left open. If you are coding in SalesLogix it is very important that you close your Recordsets, setting your Recordsets to Nothing is NOT enough, you should always have code like this:
If oRS.State = 1 Then oRS.Close End If Set oRS = Nothing
- Lookup hack:
' Need to restrict the Lookup to records where ' Account.Type='Customer' and Account.Location='US'): LookUpName = "Account:Account" RestrictAlways = True Lookup.LookupRestrictField = "TYPE'" Lookup.LookupRestrictOp = "='Customer' and LOCATION=" Lookup.LookupRestrictValue = "US"
- Create a “.txt” file. Rename the file to “.udl”. When you double-click on the file it will display the standard connection designer!
And lots of good stuff from Ryan Farley’s site:
- SalesLogix Synchronization Report
- Leveraging .NET in SalesLogix
- A Guide to The .NET Extension Deployment Attributes
- Introduction to .NET in SalesLogix Version 7
- How to Debug a SalesLogix .NET Extension
- .NET SlgxApi.dll Managed Wrapper
- The ADO.NET Primer
- SalesLogix Recurring data 101 (Activity.Recurring = True)
- The SalesLogix Mail Merge SDK – An In-Depth Example
- SalesLogix Web Services Toolkit (This document demonstrates how SalesLogix developers can use .NET Web Services as a mechanism to expose an API layer to users without compromising security and allowing many platforms that support SOAP and XML to communicate with the web service.)
- SLX v7 ERD
- Creating DataGrid Columns at Runtime
- Dynamically Creating DataGrid Columns
- Dynamically Populating Radio Buttons and Retrieving the Selected Value
- Generically Setting a Form as Read-Only
- The SalesLogix CheckListBox Control
- Using Classes in VBScript (bundle)
- E-mail Address Validation (using Regular Expressions)
- Using FileSystemObject to Create a vCard File
- Connecting with the RWPassword From External Applications
- The Myths and Legends of Prepared Queries
- How to Launch a Contact Process via Script (bundle)
- How to Save & Read Images in a SalesLogix Database (bundle)
- Building a SalesLogix Login Screen (bundle)
- Integrated Logins with the SalesLogix 6.2 Provider
- How To Update Controls Across Forms
- How To Retrieve a Record Count From an ADO Recordset
- How to Create a View in a SalesLogix Database that Points to a Table in a Different Database on a Different Server
- How to generically invoke the edit form for a SalesLogix datagrid
- How to Use Common Dialogs in SalesLogix
- How to use COALESCE with SalesLogix Queries
- “Simply” adding a new field to OppProduct