[cgiapp] popup_menu

2002-01-22 Thread Sabherwal, Balvinder (MBS)
Guru's I have a script which makes a database call and the returned results are stored in a variable. if I pass this variable to the popup_menu, the options I get in the list box are array references. Is there a way to pass the variable to the popup_menu function or will I have to convert the

[cgiapp] FW: [cgiapp] popup_menu

2002-01-22 Thread Stephen Howard
forgot to include the list... -Original Message- From: Stephen Howard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 11:42 AM To: Sabherwal, Balvinder (MBS) Subject: RE: [cgiapp] popup_menu Not familiar with the Sybase module, I'd guess: my $dbnames = [ map { $_-[0] }

Re: [cgiapp] popup_menu

2002-01-22 Thread Mark Stosberg
Sabherwal, Balvinder (MBS) wrote: Guru's I have a script which makes a database call and the returned results are stored in a variable. if I pass this variable to the popup_menu, the options I get in the list box are array references. Is there a way to pass the variable to the popup_menu

RE: [cgiapp] popup_menu

2002-01-22 Thread Sabherwal, Balvinder (MBS)
Thanks for the suggestions, Here is what I ended up doing to make it work my $dbh = Sybase::CTlib-ct_connect($usr, $pwd, $srv); ## Connect to the server. my @dbns; my $dbnames = $dbh-ct_sql(select name from master..sysdatabases where name not in ('master' ,'tempdb' ,'sybsystemprocs' ,'model'