Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 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!
 Architect Forums - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: How to open a saleslogix form as a non modal form
Ram Sundaresan
Posts: 16
 
How to open a saleslogix form as a non modal formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Jan 09 3:47 PM
We have a form with a data grid. When the user double-clicks a record in the data grid the contact record or lead record is brought up with the code Application.MainViews.GetViewForRecord sEntityId, "Lead" or Application.MainViews.GetViewForRecord sEntityId, "contact" depending on whether the related (targetresponse) record is a contact or lead. We would like the original form with the data grid (with records from the table targetresponse) to be either docked on the side or at least remain as a non modal form so that the users can come back to the form after recording a note or an activity. I have tried setting the modal result of this form to all possible values, but this does not solve our problem since the modal result appears to determine how the form is closed though the Architect help explains that it would determine "whether and how" the modal parent form is closed. Is there a way of opening the form with the datagrid as a non modal form?
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: How to open a saleslogix form as a non modal formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Jan 09 3:54 PM
Use Split View

Go to the View Menu, and click on the "Split view" entry (CTRL+F8).
You will have the Group List side by side with the Detail View.




I have done something similar to what you are trying to do, and it is possible but it could lead to lots of trouble.
Then again, I wasn't doing it modally, because the client wanted each item on a diff window. (This was done for Tickets).
It ended up crashing SLX after several windows were opened because the Service Reps never closed a ticket window.

[Reply][Quote]
Ram Sundaresan
Posts: 16
 
Re: How to open a saleslogix form as a non modal formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Jan 09 4:08 PM
Thank you Raul. What I have is not a Group list. I have a form that I open by clicking an icon (by setting the Action as Form). The data in the data grid is pulled from 3 or four different tables using a Union Join.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: How to open a saleslogix form as a non modal formYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Jan 09 4:29 PM
Then what you would want to do is Create your own Main View object for the Entity that you are working with and then use the MainViews.ShowModal funtion to display it.

Dim recordID
Dim objMainView
recordID = "MYENTITYID"

Set objMainView = Application.MainViews.AddEx("Table", 1, true, 1, RecordID, "")
objMainView.ShowModal


[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/29/2024 11:50:02 PM