If anyone can help.
From: Bill Carson (bcarson_at_goforgold.net)
Date: 05/14/04
- Previous message: Andriy Gushulay: "ASP script debugging XMLHTTP component issue"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 14 May 2004 10:40:55 -0400
I built a database and asp display to be used in an intranet
enviroment.
All work well except one problem
The main list has an edit link next to each person in the db.
Each person has 6 check boxex being displayed representing products
they have used.
the problem is
when you go to edit a user, the checked boxes do not carry over to the
edit page. All of the boxes are unchecked, and you have to check them
again in addition to any other changes you are making.
I would like the data to carry over.
I have attached all the components in a zip file that im running in
IIS.
The problem I believes is rooted in a "getdata" string of code.
The main page is titled CLEARPORT_USERS_list
The edit page is titled CLEARPORT_USERS_edit
There is also a page in a folder called "include" titled
CLEARPORT_USERS_aspfunctions
One of these pages is the culprit im sure.
The code that I added to get the check boxes to display on the main
page is as follows It was added to the CLEARPORT_USERS_aspfunctions
' long binary data?
if (Field.Attributes and 128) and ( Field.Type = 204 or Field.Type =
205 ) then
GetData = "LONG BINARY DATA - CANNOT BE DISPLAYED"
else
if Field.Type <> 205 then
if Field.Type=19 then
GetData = CInt(Field.Value)
else
if Field.Type=11 then
GetData = "<input type=""Checkbox""
disabled name=""" & Field.Name & """"
if
Trim(CStr(Field.Value))="True" then
GetData = GetData & "
checked "
End If
GetData = GetData & ">"
else
GetData = Field.Value
end if
end if
end if
If anyone could help on this I would be greatful. Been trying to
figure it out for days now.
TIA
BC
- Previous message: Andriy Gushulay: "ASP script debugging XMLHTTP component issue"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|