8/28/2025 3:27:10 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.
|
|
|
|
view window for new table
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 |
|
|
|
Re: view window for new table
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. |
|
|
|
Re: view window for new table
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 ! |
|
|
|
Re: view window for new table
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 |
|
|
|
Re: view window for new table
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 |
|
|
|
Re: view window for new table
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 |
|
|
|
Re: view window for new table
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 ! |
|
|
|
Re: view window for new table
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. |
|
|
|
Re: view window for new table
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 |
|
|
|
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!
|
|
|
|
|
|
|
|