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!
 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: help needed.prob in inserting recoed in SQL Database through SLX.
satz
Posts: 75
 
help needed.prob in inserting recoed in SQL Database through SLX.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Jan 08 9:56 AM
hello friends,

i have problem in inserting recoed in SQL Database through SLX. i want to know my syntax is correct. please help me.
here is my code...


Dim strlstrsql
set rsobjCMC = objSLXDB.GetNewRecordSet

strlstrsql = "Select * from Contact_Newletter where 1=2" 'DNL

rsobjCMC.Open strlstrsql, objSLXDB

with rsobjCMC
.addnew
.Fields("Contact_newletterid").Value=application.BasicFunctions.GetIDFor("Contact_Newletter")
.Fields("CreateUser").Value = Application.BasicFunctions.CurrentUserID
.Fields("CreateDate").Value = now
.Fields("ModifyUser").Value = Application.BasicFunctions.CurrentUserID
.Fields("ModifyDate").Value = now
.Fields("Subscribed").Value = "C"
.Update
End With
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: help needed.prob in inserting recoed in SQL Database through SLX.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Jan 08 2:36 PM
Question answered in other thread here: http://www.slxdeveloper.com/forum.aspx?forumid=2002&postid=13307

-Ryan
[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 9:13:50 PM