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: view window for new table
Andrew
Posts: 29
 
view window for new tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Apr 09 1:16 PM
Hi!
I need some help with programing. I did some FoxPro and VB programming in pass but I'm new to Saleslogix and have problems with it. I have 3.10 version of Saleslogix which I installed to lern Saleslogix.
I did create new table "vendor" and insert(with MsQuery) two records in it. Now I'm trying to open view/edit window of this table with clicking created button on toolbar. I know it could not be done directly so I'm trying to create a script:
sub main
dim RecordID As String
RecordID=1
Application.BasicFunctions.ShowViewForRecord (vendor As String, personal.vend_new As String, RecordID) As ModalResult

end sub
which I'm going to run with button of toolbar. For some reason, I cannot test this scrip because I'm getting syntax error when trying to save it. Can somone tell me what is wrong? Can somone point me in right direction?

Andrew
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: view window for new tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Apr 09 7:49 PM
SalesLogix is currently at version 7.5. Do you really have 3.10? Is it on floppy disk??

You have way too much going on in your statement. There is no datatyping in SLX code - which is VBScript (though in 3.10 it was not!). Also, just write it as a statement, not a function, and it becomes something like this:

Application.BasicFunctions.ShowViewForRecord vendor, personal.vend_new, RecordID

Note also that record IDs in SLX are always 12 characters long and in a specific format.
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: view window for new tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 09 12:05 AM
If you are getting an error about saving - then this does sound like v3.x (a legacy script). But, this version is way too old and doesn't support Application.BasicFunctions (a new script function with an old product - that statement didn't come into until v6.x!).
Sounds like you have a new manual but old product.

(a) Update software before doing anything else !
(b) Do you really want to call this from a button (doesn't seem like much point?!)
(c) Add a grid instead and then use the double-click event to open the data record item

Without knowing much else - could be a whole host of other stuff to do !
[Reply][Quote]
Andrew
Posts: 29
 
Re: view window for new tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 09 10:53 AM
Well...., last time I was working with Saleslogix was 8 years ago. Few months ago I found evaluation cd with saleslogix which I got to test SLX before my company bought it. I know, it is one of the best software ever so I decided to refresh my memory and relearn SLX. I did install SLX, play little bit with configuration and databases and everything was fine until I decided to customize it. I remember I did it before but I don't remember how. Greatness of this software lays in its flexibility and customizations and I was doing that before. I'm not sure if learning history has sense, in this case, but since I don't have anything newer and I have some free time, maybe I can refresh my SLX knowledge and be ready when(if) I will get in touch with newest version again.
So thank you in advance, for your help - you are helping with lerning and test not production/real/working installation.

Andrew
[Reply][Quote]
Andrew
Posts: 29
 
Re: view window for new tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 09 10:54 AM
Well...., last time I was working with Saleslogix was 8 years ago. Few months ago I found evaluation cd with saleslogix which I got to test SLX before my company bought it. I know, it is one of the best software ever so I decided to refresh my memory and relearn SLX. I did install SLX, play little bit with configuration and databases and everything was fine until I decided to customize it. I remember I did it before but I don't remember how. Greatness of this software lays in its flexibility and customizations and I was doing that before. I'm not sure if learning history has sense, in this case, but since I don't have anything newer and I have some free time, maybe I can refresh my SLX knowledge and be ready when(if) I will get in touch with newest version again.
So thank you in advance, for your help - you are helping with lerning and test not production/real/working installation.

Andrew
[Reply][Quote]
Andrew
Posts: 29
 
Re: view window for new tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 09 10:55 AM
Well...., last time I was working with Saleslogix was 8 years ago. Few months ago I found evaluation cd with saleslogix which I got to test SLX before my company bought it. I know, it is one of the best software ever so I decided to refresh my memory and relearn SLX. I did install SLX, play little bit with configuration and databases and everything was fine until I decided to customize it. I remember I did it before but I don't remember how. Greatness of this software lays in its flexibility and customizations and I was doing that before. I'm not sure if learning history has sense, in this case, but since I don't have anything newer and I have some free time, maybe I can refresh my SLX knowledge and be ready when(if) I will get in touch with newest version again.
So thank you in advance, for your help - you are helping with lerning and test not production/real/working installation.

Andrew
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: view window for new tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 09 11:33 AM
Well, if your company has bought it - I'd grab the CD's and install the latest - you'll be amazed at how it's come on ! Especially if you were used to legacy forms tied to small scripts on WhenEvents - you now have a form with real events within the form ! Doddle !
[Reply][Quote]
Andrew
Posts: 29
 
Re: view window for new tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 09 12:08 PM
Well..., my current company is not using SLX at all. I'm sure SLX did not sleep last 8 years. My last version I was working with was SLX2000. Version 3.1 is probably from 1998-1999. To bad I don't have access to newest version, however I still want to refresh my memory and programming skills.
[Reply][Quote]
Andrew
Posts: 29
 
Re: view window for new tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Apr 09 12:26 PM
I did it!!!

I did it!!!

I did it!!!

But I did not finish yet.

I'm sorry, I will bother you again, soon.

Thanks,
Andrew
[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 4:07:11 PM