6/16/2025 7:30:42 PM
|
|
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!
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.
|
|
|
|
Passing variables between forms
Posted: 31 Jan 07 6:39 PM
|
fiogf49gjkf0d HEEEEEEEEEEEELLLLLLLLLLLLPPP!!!!!!!!!!!!! I have a mainview personal.c_mv_Project with a dataform personal.c_df_projects this dataform has a treeview and an associated datagrid. when I right click on a record in the datagrid I can choose add task which opens another dataform personal.c_df_add_tasks. It fires this code:-------------------------------------------------------------------- Sub TaskAdd Dim objMainView, objDetail Set objMainView = Application.MainViews.Add("Personal:c_df_add_Tasks", 0, False) objMainView.Caption = "Add Tasks" objMainView.Height = 210 objMainView.Width = 785 objMainView.CaptionBarVisible = False objDetail=datagrid1.GetCurrentField("Category") If objMainView.ShowModal = mrOK Then 'AXFormOpen(Parent) DataGrid1.Refresh End If Set objDetail = Nothing Set objMainView = Nothing End Sub ----------------------------------------------------------------------------------------- I would like personal.c_df_add_tasks to prepopulate some fields based on fields at the bottom of personal.c_df_projects; ie: saveparenttag, saveparenttext, savenodetag, savenodetext I presume that this can be done in two different ways. 1. dataform A. passes variables to dataform B. when calling open the form. 2. dataform B. grabs data from dataform A. I cannot figure out either method. Any advice or hints would be greatly appreciated. |
|
|
|
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!
|
|
|
|
|
|
|
|