This topic is locked

Invisible field

11/5/2008 9:22:23 AM
ASPRunnerPro General questions
C
carlobianchi author

Hello

I use this code as after edit a record

<<<<<

if dict("peso1")dict("ok1")+dict("peso2")dict("ok2")>=100 then

strSQLSave = "UPDATE general set acK = 'yes' where server = '" & dict("server") & "'"

else

strSQLSave = "UPDATE generale set accetta = 'NO' where server = '" & dict("server") & "'"

end

dbConnection.Execute strSQLSave

>>>>>>
here what i want to do :
I don't want the costumers can modify "peso1"

but dict("peso1") get the right value only if is possible to edit this field
the right value of peso1 is 100,

i try to define the field (edit) as as read only but in this case dict("peso1") return 0
Could anyone help me ?

Sergey Kornilov admin 11/5/2008

Make sure peso1 field appears on 'Choose fields' screen and remove it manually in Visual Editor.

C
carlobianchi author 11/19/2008

Make sure peso1 field appears on 'Choose fields' screen and remove it manually in Visual Editor.


peso 1 is a choose field and
if peso1 is in Visula Editor dict("peso1") return 100

if i remove it in visual editor dict("peso1") return 0
This is the problem for me

J
Jane 11/19/2008

Hi,
It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and send to support@xlinesoft.com a URL to your pages along with instructions on reproducing this error.

I'll find what's wrong with your project inspecting it at Demo account site.