Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Friday, June 20, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
6/20/2025 6:35:35 AM
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!
Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics
(for Windows client only)
. View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to SalesLogix Scripting & Customization
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Recordsets in SalesLogix
Rekha
Posts: 72
Recordsets in SalesLogix
Posted: 06 Sep 07 6:42 AM
Hi,
I am having trouble adding more rows to recordset in a datagrid. I am customizing the Add Product --> Add Opportunity screen. when I select available product, (in SLX it works fine). I have customized the grid to show other items from a different table that is not used by SLX.
With grdProducts.Recordset
.AddNew
.Fields("C_PRODUCT_DETID").Value = "" & Application.BasicFunctions.GetIDFor("C_PRODUCT_DETID") 'DNL
.Fields("PRODUCTID").Value = "" & objRS.Fields("PRODUCTID").Value 'DNL
.Fields("NAME").Value = "" & CheckForNull(objRS.Fields("NAME").Value) 'DNL
.Fields("DEPART_PORT").Value = "" & objRS.Fields("DEPART_PORT").Value 'DNL
.Fields("DURATION").Value = "" & objRS.Fields("DURATION").Value 'DNL
.Fields("ITINERARY").Value = "" & objRS.Fields("ITINERARY").Value
End With
If i use grdProducts.Recordset.RecordCount, I am able to get the number of rows added. but when i say AddNew, the new record is only getting displayed in grid. Also, only the latest record added in the datagrid is retained. I want to store the values in recordset and update the Opportunity_product table at one shot by assigning the recordset as
grdProducts.Recordset = objRS (This should contain many rows)
Is it possible to do it this way or is there a better way of doing this?
Please help
[
Reply
][
Quote
]
Raul A. Chavez
Posts: 1300
Re: Recordsets in SalesLogix
Posted: 06 Sep 07 9:26 AM
It has been a while since I messed with this view, but I do recall there being another recordset on the View where it keeps status of the records (Removed, Modified, Added).
Based on the content of that additional recordset, when the user hits OK then it process the rows accordingly.
[
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 © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 6/20/2025 7:04:32 AM