Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, April 29, 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: .NET -- OLEDB Provider -- and Remote Tiff files not being created
Scott Parker
Posts: 19
 
.NET -- OLEDB Provider -- and Remote Tiff files not being createdYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jul 09 12:48 PM
I was told (and have seen for myself) that there is a bug with the OLEDB provider when using Raw SQL statements to do updates.
I was told to use the "Dataset" method. So I came up with the following code to test..
It does update the main database, but the Tiff files are still not being created.

Any ideas?


Dim conString As String = "Provider=SLXOLEDB.1assword=groteersist Security Info=False;User ID=admin;Initial Catalog=SalesLogix;Data Source=MA35;Extended Properties=PORT=1706;LOG=ON"
Dim cn As New OleDbConnection(conString)
cn.Open()
Dim strSQL As String = "Select * from c_Account_ext where accountid = 'A6UJ9A002FDT'"
Dim da As New OleDbDataAdapter(strSQL, cn)
Dim ds As New DataSet()
da.FillSchema(ds, SchemaType.Source, "c_Account_ext")
da.Fill(ds, "c_Account_ext")
Dim cmdBuilder As New OleDbCommandBuilder(da)
da.UpdateCommand = cmdBuilder.GetUpdateCommand
With ds.Tables("c_Account_ext")
.Rows(0)("Adj_Schedule") = "test2"
End With
da.Update(ds, "c_Account_ext")
cn.Close()
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: .NET -- OLEDB Provider -- and Remote Tiff files not being createdYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Jul 09 1:46 PM
TEFF files get created by the Sync Server.

The way sync works (high level):
- When you make any changes, they are stored in Queue files.
- The Logging server converts those Queue files into Workgroup Logs. (which I believe have a similar format as the TEFF files, as they can be viewed with the Tranviewer).
- The Sync Server executes it process those workgroup logs and generates TEFF files for the remote users.

Now, in order for your system to generate files for synchronization it has to have a sync server configured (even if one doesn't really exist).
And, in order for the Sync server to generate TEFFs for remote users/office, there needs to be remote users and/or database created.


[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/29/2024 10:28:12 AM