Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, August 28, 2025 
 
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 ThreadView:  Search:  
 Author  Thread: Datagrid on Data Form
SLX New Bie
Posts: 2
 
Datagrid on Data FormYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Feb 09 2:14 PM
Hello People,

I am using SLX 6.2.4 and looking for some help with this request.

Here is the situation:

For Contacts I have a tab with a datagrid (say Children for Table Child). This grid is editable, I use standard Data Form which get launched by right click on the grid. This piece works fine, I am able to add, edit or delete child records.

On this data form, I added a second grid (say Grand Children for Table GrandChild). This grid ia editable too and I use another Data Form.

The problem is when you do Add Child and from there do Add Grand Child. Grand Child doesn't get saved. But if I add Grand Child from Edit Child form it works fine.

Is there a way to save Child record from script. I am considering writing my own Data Form if there is no other way.

Cheers,
RN
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: Datagrid on Data FormYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 20 Feb 09 8:20 PM
As far as I know, you cannot create a manage form hierarchy in the way that you have described - the manage form works only to a depth of one.

You will need to script it to achieve what you want. I recommend that you disable the standard Add/Edit/Delete functions on your grandchildren datagrid and create the same options on a popup menu. Then, in code, you need to trap which of the popup menu items was selected and fire off whatever SQL is required. You may also want to write some code to enable/disable the menu items, based on whether there are records in the datagrid (no need for the delete option when there are zero records in the grid, for example).

Phil

[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 | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/28/2025 6:18:39 AM