Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Friday, August 29, 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)
8/29/2025 11:32:55 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: new main view
David Ogles
Posts: 51
new main view
Posted: 10 Mar 08 3:33 PM
I've created a new main view for Products. It works well and can navigate and even search on the detail screen header. I am attempting to build the buttons for each label to seach on. I basically copied the code from the account detail form and pointed the case statements to the new product lookups. When I click on them, I get an error "Unknown Function Number -1".
Case "cmdsku" '
strLookup = "Product:ActualID"
Application.BasicFunctions.DoInvoke "Lookup" & strLookup
Ive even changed the doinvoke to a Function: Lookup. I still get that error.
Any ideas on this? My main view seems to work ok but I'm not ruling anything out.
thanks,
dave
[
Reply
][
Quote
]
Mark Richardson
Posts: 25
Re: new main view
Posted: 11 Mar 08 2:55 AM
Hi David - ooohhh so close ! It's just the syntax at the end of the lookup line - I've done the Product View and all is fine - code practically exactly same as yours as we use the sku for actualid too
Sub FunctionLookupClick(Sender)
Dim strLookup
Select Case Sender.Name
Case "cmdSKU"
strLookup = "Product:Actualid"
End Select
Application.BasicFunctions.DoInvoke "Lookup", strLookup
[
Reply
][
Quote
]
jrc
Posts: 1
Re: new main view
Posted: 16 Jul 09 5:37 AM
Hello, i arrived here from google search, seems great place for SLX developers as me!! i´m developing changes in 7.2 and i get the same problem than David Ogles.
I had created new field in account table called "TEBISID" and i'm trying to makes work a search for this field using a loockup, and i get the same error:
unknown function number: -1
the code:
Sub FunctionLookupClick(Sender)
Dim strLookup
Dim blnUseFunction
On Error Resume Next
strLookup = ""
blnUseFunction = True
Select Case Sender.Name
Case "cmdCod" 'DNL
strLookup = "Account:tebisid" 'DNL
Case Else
strLookup = ""
End Select
If strLookup <> "" Then
If blnUseFunction Then
Application.BasicFunctions.DoInvoke "Function", "Lookup:" & strLookup 'DNL
Else
Application.BasicFunctions.DoInvoke "Lookup", strLookup 'DNL
End If
ErrorCheck Application.Translator.Localize("Error accessing SalesLogix VBScript functions:")
End If 'if strLookup <> ""
End Sub
Here the lookup:
http://img196.imageshack.us/img196/9158/slxo.jpg
Thanks a lot
[
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): 8/29/2025 12:04:46 PM