Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, April 24, 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!
 Data & Imports Forums - T-SQL & Queries
Forum to discuss general T-SQL questions and help with queries related to SalesLogix data. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to T-SQL & Queries | New ThreadView:  Search:  
 Author  Thread: Insert HistoryIDs?
Jill D
Posts: 31
 
Insert HistoryIDs?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Nov 09 2:22 PM
Hello -
We are developing a new reporting process. Excel reports are being emailed from Reporting services via data-driven subscriptions. The report is sent from an onclick event in an MS Access (2000) application that uses the SLX database for source. We want to update the SLX History table when the report is emailed. We can call a stored procedure to insert the info into the table, but what about about generating the IDs for the History table? If auto-increment is activated is it necessary to call SLX_BDIDS? (SQL 2005, SLX 7.2) What are your suggestions? (the easier the better!)

thanks!

j.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Insert HistoryIDs?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Nov 09 2:56 PM
If Auto Increment is turned on for the History table, and as long as you are writing the data via the SLX OLEDB Provider you don't have a need to call the function to generate IDs.
[Reply][Quote]
Jill D
Posts: 31
 
Re: Insert HistoryIDs?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Nov 09 4:00 PM
Thanks, Raul!
To clarify:

MS Access connects to SQL via SLX OLEDB provider
Execute SQL sproc (insert into table)
Close SLX OLEDB connection

Are there any major reasons for not having auto increment enabled for the history table? It is currently not enabled, but I don't know the reasoning behind this setup.

j.



[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Insert HistoryIDs?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Nov 09 4:10 PM
As far as I know, it just hasn't been turned on.

The SLX Application on its own doesn't rely on the auto-increment, so no need for it to be turned on. Never the less, you could turn it on as needed.
[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): 4/24/2024 9:26:40 AM