If anyone can help.

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Bill Carson (bcarson_at_goforgold.net)
Date: 05/14/04

  • Next message: Curtis Morrison: "CSS Style background image not loading in SSL"
    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


  • Next message: Curtis Morrison: "CSS Style background image not loading in SSL"

    Relevant Pages

    • If anyone can help - wwwroot.zip (0/1)
      ... The main list has an edit link next to each person in the db. ... when you go to edit a user, the checked boxes do not carry over to the ... All of the boxes are unchecked, and you have to check them ... The code that I added to get the check boxes to display on the main ...
      (microsoft.public.inetserver.asp.db)
    • If anyone can help - wwwroot.zip (0/1)
      ... The main list has an edit link next to each person in the db. ... when you go to edit a user, the checked boxes do not carry over to the ... All of the boxes are unchecked, and you have to check them ... The code that I added to get the check boxes to display on the main ...
      (microsoft.public.inetserver.asp.db)
    • Re: how to add tooltips to excel udfs i created?
      ... Can display a tooltip (a window with some text, ... userform if coding in VBA) to appear next to a cell while mouse hovers over ... Identify when user enters edit mode ...
      (microsoft.public.excel.programming)
    • Re: DB Result Wizard Error
      ... open the hidden folder /_fpclass/ and edit the ... > For instance Equipment Serial Number, Equipment Model Number, Cost Accounting ... > to display the new equipment information. ... > is in the table was added to the query. ...
      (microsoft.public.frontpage.programming)
    • Re: Despite Data Entry = False the edit box appears for the list & fields overflow
      ... Use the MsoBoundSpan element to display the data, ... "Karen Middleton" wrote in message ... > query and I have published a data Access page against the Access ... > access page shows all the cells data in a Edit box even though I ...
      (microsoft.public.access.dataaccess.pages)