Results 1 to 5 of 5

Thread: Asp & Access Db

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    LAVAL ( FRANCE )
    Posts
    32

    Unhappy

    Hi,

    Is it possible to use ACCESS Requests with ASP please ? I know how to use ACCESS Tables but not the Request... It could be VERY useful for me...

    If someone could help...

    Thank You

    COSI

  2. #2
    Addicted Member
    Join Date
    Nov 2000
    Location
    UK
    Posts
    164
    What are Access Requests?

    Alex
    ASP, SQL, VB6, Java Script and dubious guitar playing skills.

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    LAVAL ( FRANCE )
    Posts
    32

    Talking HUM...SORRY...

    Hi,

    err... sorry I'm french and my technical english is not very good...

    Access Requests = Access QUERIES (I forgot the word for queries)

    Is it Better ??


    COSI

  4. #4
    Addicted Member
    Join Date
    Nov 2000
    Location
    UK
    Posts
    164
    Hey your English is alot better than my French!

    I am not sure how to use the queries stored in Access but all an Access query is is some SQL statements (okay sometimes it has some Access stuff as well but dont worry about that).

    SQL is not that hard to learn. You can get the SQL version of the Access query from the Access DB by right clicking when in Design view of the query and selecting SQL view. You could then paste the code directly into the SQL statement.

    For example the following code uses a SQL statement to select only customers called steve:

    'define connection and open connection
    set conn = server.createobject("ADODB.Connection")

    'open ODBC connection
    conn.open "connCustomer"

    SQL="SELECT customerName From customerTbl WHERE customerName ='steve'"

    set customerTbl=conn.execute(SQL)

    Hope this helps.

    Alex
    ASP, SQL, VB6, Java Script and dubious guitar playing skills.

  5. #5

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    LAVAL ( FRANCE )
    Posts
    32

    Talking Thanks !

    I know SQL a little...

    But my problem is resolved now, because we can use Access Queries in SQL, as Access Tables...

    Thank you

    Cosi

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