Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 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!
 External Development Forums - SalesLogix OLEDB Provider
Forum to discuss using the SalesLogix OLE DB Provider from external applications (including usage of built-in provider procedures). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix OLEDB Provider | New ThreadView:  Search:  
 Author  Thread: Another problem with date fields
Lloy Sanders
Posts: 69
 
Another problem with date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Jun 07 3:06 PM
I just found another problem where legacy code is entering dates NOT in ISO format, so the data is not synching to users. Since almost all of the remote users are in the office from time to time, I have solved this in the past by using DTS to copy the tables to the remote when they are in the office. However, we have recently upgraded to SQL Server 2005, and I cannot connect to MSDE any longer from the Development Studio (funny thing is that I can connect from SQL Management Console). Anyone have any quick ideas for me, short of re-cutting all of the databases? I was thinking of using the provider to copy all of the data to a temp table, then deleting the table, and copying the data back to the original table with the dates converted to ISO format. Better ideas?
[Reply][Quote]
Frank Chaffin
Posts: 475
 
Re: Another problem with date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Jun 07 7:28 PM
Did you try...
-Backup the MSDE database then restore into a database on the SQL2005 server.

-Grab the MDF file from the remote and attach it to a SQL2005 database.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Another problem with date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Jun 07 11:05 PM
You can't connect to MSDE from SQL Management Studio (as in register it as a server), but you can use SSIS to connect to a MSDE target. A connection in SSIS can be to anything, it can be MSDE or anything else. KWIM?
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: Another problem with date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Jun 07 7:05 AM
Time to fix the code!

I've found in 100% of the upgrades I've excuted where there are legacy customizations.. there is bad code when it comes to datetime. Also, found datetime fields bound to Text controls, etc.. not good.

You have to fix them all.. takes time.
--
rjl
[Reply][Quote]
Lloy Sanders
Posts: 69
 
Re: Another problem with date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Jun 07 8:16 AM
Actually, I've found the reverse to be true. I can register it as a server in SQL Management Console, but I have been unable to connect in SSIS. I've tried ADO, ADO.NET, OLEDB, And SMOServer connections, and have been unable to get any of them to work. Come to think of it, I only tried OLEDB with Native SQL provider. Maybe I should try the SalesLogix provider?
[Reply][Quote]
Lloy Sanders
Posts: 69
 
Re: Another problem with date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Jun 07 8:17 AM
Yep, code is already fixed. Now I'm just trying to figure out an easy way to get the correct data on the remotes.
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: Another problem with date fieldsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Jun 07 11:31 AM
We have a "tool" (and a "process") to sync out any table (or sync it "back"....) It's part of out "IP"... get in touch w/me.
--
rjl
[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/26/2024 6:42:51 AM