CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Listbox wrong value being displayed.

Print topic Send  topic

Author Message
flipandboef


Posts: 107
Posted: 11/06/2006, 11:57 AM

Hi all,
I am pulling out my hair and as good as bold right now...:-|
Here is my problem:
I want to have a drop down list this displays the security levels...
In my case I made it like this:
1 -> Visitor
2 -> Designer
3 -> Editor
4 -> Administrator

On my Add / Edit member page...
On the drop down list does not go to the initial value: "Select Value", but to the value "Editor"
Ok I thought, i put in the values in the <SELECT> properties (in CCS3.1), but no luck.. I displays the values but goes to "Editor" instead of "Select Value"....
I have even tried to make a litle table SecLevel that looks as followed:
SecID (prim key) / SecName
1 / Visitor
2/ Designer
3/ Editor
4 / Administrator
No more records

You guesses it, after building the query it again shows up as "Editor" and not "Select Value"..
Then I tried to set the Default Value in the Properties to "zero"... This worked!! Now it finally is set to Select Value... :-)

You guessed it... BUT!!!!!! :-(
Now when I goto my List of members and select a member to edit (that returns the edit member page with ?MemberID="xx" (where "xx" is the record number for that member)...
it goes there, but... indeed... again "editors" is selected on my security level drop down list, instead of the official value or (if none selected:)" the Select Value...
Perhaps I told it a little confused (to much head ache from pulling my hair from this!!!), but if any one can help me out here... Please!! :-{}
View profile  Send private message
flipandboef


Posts: 107
Posted: 11/07/2006, 7:03 AM

Well, got it figured out... so no help needed anymore...
View profile  Send private message
Marcus


Posts: 49
Posted: 11/07/2006, 9:51 AM

... and you do not want to share with us what you did wrong and what you did right....
View profile  Send private message
flipandboef


Posts: 107
Posted: 11/07/2006, 10:11 AM

well ok then Marus, since you wanted it... ;-)

It was a stupid mistake I made myself that I kept overlooking...
I choose the table :-D...
That was basically it... What else can I say / explain??
Just lost my brains yesterday... LMAO!
View profile  Send private message

Add new topic Subscribe to topic   


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

MS Access to Web

Convert MS Access to Web.
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.