This topic is locked

Default value on lookup wizard

8/4/2006 8:23:45 AM
ASPRunnerPro General questions
A
abdemir author

Hi,
I couldn't see default value in combo box when I add a new record.
This field type is varchar(10) on the MSSQL server and I use Lookup Wizard --> List of values on step 7 of 12
How can I do?
Best Regards,

Bulent

F
funklet 8/7/2006

Bulent,
In ASPRunner 4.0 there is a default value entry box on step 7 when you click the change next to lookup wizard.
If you don't have the latest version then I would suggest an upgrade.
Kind Regards,
Funklet

A
abdemir author 8/8/2006

Hi Funklet,
Thanks for your answer, however my version is 4.0 (build 98)
I tried with new project this option yesterday but problem didnt solve.
Best Regards,

Bulent

J
Jane 8/8/2006

Hi,
use following default value:

"your_value"



Please note that default value should be in the list of values.

A
abdemir author 8/21/2006

Hi Jane,
I have found problem reason. It's a program BUG.
There is no problelem when I use English characters in my words. (apple, orange, banana)

There is a problem when I use Turkish characters in my words (I with dot, U with dot or O with dot)
What can I do for Turkish charachters problem in drop down menu default value?
Best Regards,

Bulent

Sergey Kornilov admin 8/21/2006

abdemir,
this is not a program bug. If you like to use turkish alphabet in default values you need to modify generated ..._add.asp page. The very first line of this file should read as the following:

<%@ Language=VBScript codepage=1254%>
A
abdemir author 8/21/2006

Hi,
Yes, you are right, this is codepage or character set problem. However I just tried with your code but it didn't work.
Note1:

I also tried with

<%@ Language=VBScript codepage="1254"%>
Note2:

There are no problem with special Turkish characters in textbox or drop down menu items. I can see and write Turkish characters.
Best Regards,

Bulent