CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 ComboBoxes?

Print topic Send  topic

Author Message
Stan Jacox
Posted: 05/06/2001, 12:14 AM

Hello All
Is there a way to use the list box as a combobox where new entries can be
added if not currently in the referenced table?

I am a new user of CodeCharge and I'm having a lot of fun building a
database driven site for a non-profit social research group. I purchased it
before I realized just how useful and powerful it really was. It is a great
learning tool all by itself, in that I can have it code a simple function
and go back and study the resultant generated code. Now that most of the
data functionality is working, I have to integrate the CodeCharge created
tables into my UltraDev 4 created web pages/templates.

Well done.

Stan Jacox
P.S. When is the projected release of version 2.0? What will be the upgrade
policy?

Alexey Alexapolsky
Posted: 05/07/2001, 3:28 AM

Well , as far as I know combox as interface lement hasn't been added to html
spec,
so it must be emulated somehow. I suggest you to you a combination of
listobox
and text field. They will be put one near another.
Server side script will check if textbox field is not empty it will take
it's value ,
and not the one from listbox. Use "Form properties"/Events/"Before Insert"
event ,
where you can form custom sql statement using standard cc variables ,
it should look like :

dim tim
if IsEmpty(fldmytext) then
tmp=fldmylistbox
else
tmp=fdmytext
end if

sSQL = "insert into mytable (name) values " & tmp


--
Regards,
Alexey
CodeCharge Support


Stan Jacox <STANJ@spb.cityline.ru> wrote in message
news:9d2tju$908$1@mail.tankhill.com...
> Hello All
> Is there a way to use the list box as a combobox where new entries can be
> added if not currently in the referenced table?
>
> I am a new user of CodeCharge and I'm having a lot of fun building a
> database driven site for a non-profit social research group. I purchased
it
> before I realized just how useful and powerful it really was. It is a
great
> learning tool all by itself, in that I can have it code a simple function
> and go back and study the resultant generated code. Now that most of the
> data functionality is working, I have to integrate the CodeCharge created
> tables into my UltraDev 4 created web pages/templates.
>
> Well done.
>
> Stan Jacox
> P.S. When is the projected release of version 2.0? What will be the
upgrade
> policy?
>
>


   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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