Home » Developer & Programmer » Forms » Combo Box Problem
icon5.gif  Combo Box Problem [message #181755] Tue, 11 July 2006 07:48 Go to next message
qadeerahmed
Messages: 63
Registered: July 2006
Location: Pakistan
Member
Hi!
Can Any One Help Me Out !!!
In Combo Box When we add Elements through Query, Suppose i write the Query as: SELECT code, semester From Courses; then it'll fill the list element with all the CODES as its labels and semesters as values.

But i want to assign the label of my own choice or you can say Label and Values should be same as one can do while giving static Values to the list items through property pallete.

Thanks!!!
Regards

[Updated on: Tue, 11 July 2006 08:45]

Report message to a moderator

Re: Combo Box Problem [message #181795 is a reply to message #181755] Tue, 11 July 2006 09:24 Go to previous messageGo to next message
qadeerahmed
Messages: 63
Registered: July 2006
Location: Pakistan
Member
Is There AnyOne Here To Help Me Out?

Maaher????
Re: Combo Box Problem [message #181942 is a reply to message #181755] Wed, 12 July 2006 05:26 Go to previous messageGo to next message
bhupinderbs
Messages: 67
Registered: July 2006
Location: Bangalore
Member
Hi

Is this solves your problem?

Bhupinder Singh
Re: Combo Box Problem [message #182392 is a reply to message #181795] Fri, 14 July 2006 09:12 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Wow!! No answer in 2 hours!! Some of us have jobs that take up most of our time.

Did you solve your problem?

David
Re: Combo Box Problem [message #182407 is a reply to message #182392] Fri, 14 July 2006 11:14 Go to previous messageGo to next message
qadeerahmed
Messages: 63
Registered: July 2006
Location: Pakistan
Member
Nope I'm not able to solve the option 1, but did solved option 2.
Option 1 was, Label Should Be of My own Choice
Option 2 was, Label and Value Should be Same.
Can you solve the option1 for me ... DAVID



Bhupinder Singh ...>>> I don't want the way you did. But thanks alot. That solved my other problem too.

regards!!!
Re: Combo Box Problem [message #182516 is a reply to message #182407] Sun, 16 July 2006 01:25 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You have, as your current query
SELECT code, semester
  From Courses
Try
SELECT code my_name1, semester my_name2
  From Courses

David
Previous Topic: What this code do step by step?
Next Topic: migration of forms to a .NET application
Goto Forum:
  


Current Time: Fri Sep 20 11:35:22 CDT 2024