Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Thursday, April 18, 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 - Legacy Development
Forum to discuss SalesLogix legacy development including views, scripts, etc.. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Legacy Development | New ThreadView:  Search:  
 Author  Thread: error: Cannot find or access the subject required by..... plugin using the option you selected
Andrew
Posts: 29
 
error: Cannot find or access the subject required by..... plugin using the option you selectedYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Mar 09 8:12 PM
I did create a table with few columns and new view for this table to view, add, modify records in this table. I did create new button on Slgx standard tollbar which is calling this new view. All I'm geting is this error message. Can someone hlep me figure it out? This is second day I'm trying to solve this problem. Saleslogix version is 3.1 with Interbase DB.

Andrew
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: error: Cannot find or access the subject required by..... plugin using the option you selectedYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 09 1:20 AM
You've used a bound form which needs context (ie: which record to display, or if it is creating a new one). When you invoke the form from a menu or toolbar it does not get this context, which is why you're seeing the error.

Instead, create a script that invokes the form using ShowViewForRecord. In the script you will pass to ShowViewForRecord either a record ID to display a particular record or a blank string for adding a new record. See some info on ShowViewForRecord here: http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=48

-Ryan
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: error: Cannot find or access the subject required by..... plugin using the option you selectedYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 09 1:24 AM
Rereading your post I noticed you are on SLX 3.1 - Ouch

To be honest, I do not know if a ShowViewForRecord function even existed in 3.1. If it does, it probably does not work right (there were some known issues with this function in early days). For v3.1, I would say you're likely S.O.L. and will have to use a Manage form, which means you won't be able to using binding and instead will need to script any updates or inserts to the database yourself.
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: error: Cannot find or access the subject required by..... plugin using the option you selectedYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 09 7:10 AM
AFAIK - ShowViewForRecord was brought in initially as part of the Support Client and not avaiilable in the Sales Client until quite "late".
--
RJLedger - www.rjlSystems.net
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: error: Cannot find or access the subject required by..... plugin using the option you selectedYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Mar 09 9:48 AM
Quote:
Originally posted by Bob (RJ)Ledger

AFAIK - ShowViewForRecord was brought in initially as part of the Support Client and not avaiilable in the Sales Client until quite "late".


That sounds right. Looks like Andrew will be scripting it all to do the insert/update manually in your own code (which means you need to use a manage form)
[Reply][Quote]
Howard Tattrie
Posts: 1
 
Re: error: Cannot find or access the subject required by..... plugin using the option you selectedYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Mar 11 4:32 PM
fiogf49gjkf0d

Hi Ryan,


I have created a modal form that is used as a "Look-Up" form - in other words, you enter some text into a box - hit a search button and it just displays results.


I dont want or need it to be bound to a record automatically during form creation.  I have all the code in the appropriate events and it was, in fact,  working at one time.  I'm not sure exactly what changed, however I am now getting the same error as Andrew above. 


Is there a way to just load the form without binding to a record first.  I'm running 7.5.2.  Any help would be appreciated.

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: error: Cannot find or access the subject required by..... plugin using the option you selectedYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Mar 11 4:36 PM

Only option is to launch it using ShowViewForRecord or to use a Manage form (which is not a bound form and has no record context). It sounds like that is the best option for you (to use a manage form).

[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): 4/18/2024 5:29:02 AM