Results 1 to 6 of 6

Thread: Opening a Access Database table through ASP

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    98

    Opening a Access Database table through ASP

    I have a customer who (Don't ask me why) want to perform a query on a Access database table, if the query comes back with no records he wants the table to open up so the fields can be seen. Is this possible through ASP? Thanks, G

  2. #2
    Hyperactive Member Tequila_worm's Avatar
    Join Date
    Jan 2002
    Location
    Canada
    Posts
    344
    Is the access database on the same server ?

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Does he want the actual MDB file to open up, or just the names of the fields returned in the ASP page?

  4. #4
    Registered User
    Join Date
    Oct 2001
    Location
    mysore
    Posts
    60

    hello brother

    why don't u show rs fields in first <tr> by making loop of rs fields name(for each rs in recordset
    response.write rs.name
    next)

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Feb 2002
    Posts
    98

    The scoop

    I appreciate the suggestions but this is what the customer asked for, not what I would do or anyone else would do. This is on a server within a intranet. They want the mdb to open up and display a certain table exposing the fields and the data to the user based upon my above description.
    They don't want a recordset returned....This is what they want and what I want to attempt to give them if possible.
    I'm sure they have thier reasons.
    The last thing I would do is expose the database but people want what they want....

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    What you are describing is not possible. It involves the transfer of the MDB file between server and client, and then execution of the MDB file so that it opens up. The thing is, it's not allowed.

    You CAN initiate the download of the MDB file between server and client. You cannot get the MDB file to open up itself though. It is something that has to be done manually by the user, provided the user has accepted the download when the download dialog box came up.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width