Date: Wed, 28 Dec 2011 11:35:06 -0500
Reply-To: Albert Gill <albgill@YAHOO.CO.UK>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Albert Gill <albgill@YAHOO.CO.UK>
Subject: SPSS Custom dialog box /Replacing static date
Hi
I've been trying to automate few processes using SPSS /Python. I have
build few buttons for Month and Year using Custom Dialog Box where I would
like to get input from user for month [Jan - Dec] and year [2011, 2012,
2013 onwards]. Few things are bothering as I couldn't figure out how the
triggered values from List item would be used to add month and year in a
target list to run a query for user selected Month and Year. Infact to
replace date in code everytime it is selected by the user. Below is a
syntax where I would like to plug in the value replacing the static date
below.
compute start = date.dmy(01,04,11).
compute end = date.dmy(30,09,11).
EXECUTE.
Examples would be appreciated!!
Regards
Albert
=====================
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
|