CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 List box values (hardcoded)

Print topic Send  topic

Author Message
Mike
Posted: 03/13/2001, 12:06 PM

Under the ListBox properties (then under the list tab) there is a text field
that allows you to enter a list of values delimited by semi-colons:

For example: 1;Member;3;Admin

This feature works as it should and fills the listbox just fine.

However...

When you go to edit a particular record, the value that was initially
selected in the listBox is NOT the default selection on the update page.

I am aware that I can edit the code manually to fix this problem, but I am
wondering why this logic was not worked into the program initially.

Any thoughts CC?

Thanks in advance,
Mike

Mike
Posted: 03/13/2001, 12:37 PM

Alright... I figured out how I could do it.

On the "common" tab in listBox properties there is a filed for default
value. It allows you to set the default value literally or equal to
something(the example they give is =date(). So I opened up the ASP page and
found the variable that was being set for the given record:

fldcontact_isPOC = GetParam("contact_isPOC")

I set the default value equal to the following:

=fldcontact_isPOC



"Mike" <mloffland@hotmail.com> wrote in message
news:98luk3$2he$1@mail.tankhill.com...
> Under the ListBox properties (then under the list tab) there is a text
field
> that allows you to enter a list of values delimited by semi-colons:
>
> For example: 1;Member;3;Admin
>
> This feature works as it should and fills the listbox just fine.
>
> However...
>
> When you go to edit a particular record, the value that was initially
> selected in the listBox is NOT the default selection on the update page.
>
> I am aware that I can edit the code manually to fix this problem, but I am
> wondering why this logic was not worked into the program initially.
>
> Any thoughts CC?
>
> Thanks in advance,
> Mike
>
>


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.