Ask a Question related to ASP Database, Design and Development.
-
Bill Carson #1
If anyone can help - wwwroot.zip (0/1)
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
GG
Bill Carson Guest
-
Hosting from wwwroot under CFusionMX7
Even though I have our servers using IIS 6.0 (inetpub/wwwroot) I'm able to put files into the CFusionMX7/wwwroot folder and they will server out. ... -
temp\wwwroot-tmp
How long are these neotmp files supposed to be in C:\CFusionMX\runtime\servers\default\SERVER-INF\temp\wwwroot-tmp ? This folder is taking up 5... -
Any way to not have to put your site inside wwwroot?
Guys: This is the LAST place I want to keep my site files. Using ASP, I can just point the testing folder into the local root folder wherever it... -
CF MX7 won't map to existing wwwroot
CF MX7 appears to be running fine. But the CF applications that I had running in my IIS wwwroot directory won't work. When I try to run a very... -
d:\inetpub\wwwroot\
When creating a web service using .net the folders inetput\wwwroot is created. If you need to move an existing web service on another machine... -
Bill Carson #2
If anyone can help - wwwroot.zip (0/1)
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
GG
Bill Carson Guest
-
Jeff Cochran #3
Re: If anyone can help - wwwroot.zip (0/1)
On Thu, 13 May 2004 18:43:02 -0400, Bill Carson
<bcarson@goforgold.net> wrote:
Not really a database problem, you need to pass the state of the check>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.
marks to the next page in either a query string or session variables.
If you post a snippet of your form and the ACTION page to the general
ASP group you'll get a good solution for passing the information
between pages.
Jeff
Jeff Cochran Guest



Reply With Quote

