Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts
    How to add in the sql string the condition where COD_AREA='9800'

    SSQL = "Select * FROM (SPORTELLI INNER JOIN DATI ON SPORTELLI.SPORT = DATI.PROVA2) " & _
    "INNER JOIN AREA_TERR ON SPORTELLI.REGIONE = AREA_TERR.COD_AREA ORDER BY AREA_TERR.COD_AREA, SPORTELLI.SPORT, DATI.PROVA3, DATI.PROVA1"

    tks.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    The best way to find out is to create a query interactively in Access, add the condition, and look at SQL view.

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='HansV' post='769289' date='05-Apr-2009 22:38']The best way to find out is to create a query interactively in Access, add the condition, and look at SQL view.[/quote]

    ok resolved, tks.

Posting Permissions

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