|
Dear All,
I'm trying to add a button linked to a script on my toolbar. The problem I'm having is when I push the button I get this error: C:\program files\spss\scripts\showMXERRS.sbs#1: <here> (0) SubMain has not been defined. I've previously added another button linked to a script (show totals in bold) on the toolbar which works. Also, I've run the SHOW MXERRS in a script file and it works fine. I'm using SPSS version 15.0. Can anyone shed some light on this problem? Thanks, Sam Ballard, M.A. Institutional Research & Planning San Diego Community College District 619-388-6944 |
|
This weird message comes up from time to time.
Sometimes, replacing Sub main by Sub main() solves the problem. Cheers! Raynald http://www.spsstools.net On 6/25/07, Sam <[hidden email]> wrote: > > Dear All, > > I'm trying to add a button linked to a script on my toolbar. The problem > I'm having is when I push the button I get this error: > > C:\program files\spss\scripts\showMXERRS.sbs#1: <here> > (0) SubMain has not been defined. > > I've previously added another button linked to a script (show totals in > bold) on the toolbar which works. Also, I've run the SHOW MXERRS in a > script file and it works fine. > > I'm using SPSS version 15.0. Can anyone shed some light on this problem? > > > Thanks, > Sam Ballard, M.A. > Institutional Research & Planning > San Diego Community College District > 619-388-6944 > |
|
Hello SPSS listers. I have a doubt since the version 14 was launched. Do
SPSS decided to eliminate the menu on basic tables? I found that inside the commands you can choose to use basic tables, but the corresponding menu have disappeared in versions 14 and 15. Do anybody knows why? Thanks. ___________________________ Rodrigo Briceño Project Manager www.sanigest.com Costa Rica Cell: (506) 886-1177 Fax:(506) 232-0830 Office: 291-1200, ext.129 MSN: [hidden email] SKYPE: rbriceno1087 ____________________________ -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Raynald Levesque Sent: Lunes, 25 de Junio de 2007 03:11 p.m. To: [hidden email] Subject: Re: Toolbar Button Problem This weird message comes up from time to time. Sometimes, replacing Sub main by Sub main() solves the problem. Cheers! Raynald http://www.spsstools.net On 6/25/07, Sam <[hidden email]> wrote: > > Dear All, > > I'm trying to add a button linked to a script on my toolbar. The problem > I'm having is when I push the button I get this error: > > C:\program files\spss\scripts\showMXERRS.sbs#1: <here> > (0) SubMain has not been defined. > > I've previously added another button linked to a script (show totals in > bold) on the toolbar which works. Also, I've run the SHOW MXERRS in a > script file and it works fine. > > I'm using SPSS version 15.0. Can anyone shed some light on this problem? > > > Thanks, > Sam Ballard, M.A. > Institutional Research & Planning > San Diego Community College District > 619-388-6944 > |
|
In reply to this post by Raynald Levesque-2
This was happening to me earlier today (SPSS 14). I hadn't heeded the
instructions at http://www.spsstools.net/SampleScripts.htm under ** Important Download Instructions ** . As soon as I had the line breaks the way Windows wanted them the script ran fine. An easy way to check is to open the file in Notepad. Catherine At 6/25/2007 05:10 PM, Raynald Levesque wrote: >This weird message comes up from time to time. > >Sometimes, replacing >Sub main >by >Sub main() > >solves the problem. > >Cheers! > >Raynald > >http://www.spsstools.net > >On 6/25/07, Sam <[hidden email]> wrote: >> >>Dear All, >> >>I'm trying to add a button linked to a script on my toolbar. The problem >>I'm having is when I push the button I get this error: >> >>C:\program files\spss\scripts\showMXERRS.sbs#1: <here> >>(0) SubMain has not been defined. >> >>I've previously added another button linked to a script (show totals in >>bold) on the toolbar which works. Also, I've run the SHOW MXERRS in a >>script file and it works fine. >> >>I'm using SPSS version 15.0. Can anyone shed some light on this problem? >> >> >>Thanks, >>Sam Ballard, M.A. >>Institutional Research & Planning >>San Diego Community College District >>619-388-6944 |
|
In reply to this post by Rodrigo Briceño
Does your license key authorize Tables? If not, the menu item will not
appear on the menus. On 6/25/07, Rodrigo Briceno <[hidden email]> wrote: > > Hello SPSS listers. I have a doubt since the version 14 was launched. Do > SPSS decided to eliminate the menu on basic tables? I found that inside > the > commands you can choose to use basic tables, but the corresponding menu > have > disappeared in versions 14 and 15. Do anybody knows why? > > Thanks. > > ___________________________ > Rodrigo Briceño > Project Manager > www.sanigest.com > Costa Rica Cell: (506) 886-1177 > Fax:(506) 232-0830 > Office: 291-1200, ext.129 > MSN: [hidden email] > SKYPE: rbriceno1087 > ____________________________ > > -----Original Message----- > From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of > Raynald Levesque > Sent: Lunes, 25 de Junio de 2007 03:11 p.m. > To: [hidden email] > Subject: Re: Toolbar Button Problem > > This weird message comes up from time to time. > > Sometimes, replacing > Sub main > by > Sub main() > > solves the problem. > > Cheers! > > Raynald > > http://www.spsstools.net > > On 6/25/07, Sam <[hidden email]> wrote: > > > > Dear All, > > > > I'm trying to add a button linked to a script on my toolbar. The problem > > I'm having is when I push the button I get this error: > > > > C:\program files\spss\scripts\showMXERRS.sbs#1: <here> > > (0) SubMain has not been defined. > > > > I've previously added another button linked to a script (show totals in > > bold) on the toolbar which works. Also, I've run the SHOW MXERRS in a > > script file and it works fine. > > > > I'm using SPSS version 15.0. Can anyone shed some light on this problem? > > > > > > Thanks, > > Sam Ballard, M.A. > > Institutional Research & Planning > > San Diego Community College District > > 619-388-6944 > > > |
| Free forum by Nabble | Edit this page |
