Hi,
I thought I had solved this problem with your kind help.
A version of your script thus:

local d = date
local StartDay
for (local i=0; i<14; i=i+1)
    local s = s ++ formatdate("ddd, d MM yyyy", date.addDays(d, i)) ++ "|"
endfor
local return = inputdialog("~,=^StartDay = First
Installment??"++s++"|"++"Morethan7"++"^SecondDay = Second
Installment??"++s++"^ThirdDay = Date of Third Installment??"++s++"^FourthDay
= Fourth Installment??"++s,"What day do you want the prescription to
start?")

Works fine as a standalone script. 
I get four drop down boxes each with a choice of fourteen dates. 

However when I incorporate it in a bigger script I have the same problem I
had earlier with the dialog box reducing to only 2 drop down boxes and only
displaying about half the dates for the second one. 

This suggests to me that there is a limit to the memory space for dialog
boxes in a script? Is this it? Is there any way I can free up some memory by
getting rid of variables I have finished with?

Alistair


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of brucexs
Sent: 25 February 2006 16:36
To: [email protected]
Subject: [power-pro] Re: Variables as items to select in a combo box

> 
> But by the time I get to the third date, I only get a few of the the 
dates,
> and in fact the last date is only part of the date. 
> 
> If I change the For.. loop to include i= 7 I can get to 5 check 
boxes but
> again the fifth box has only some of the dates.
> 
> I wonder if there is some sort of memory limit for the box going on 
here?


Yes there is and I will increase in next beta so you should be able to 
handle at least 14 days.  You can also try using short day and month 
names (eg formatdate to Mon 14 Feb 06)





Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links



 




Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to