Results 1 to 3 of 3

Thread: Error join, acces ,sql...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    VBAX Newbie
    Joined
    Dec 2016
    Posts
    3
    Location
    Fixed...

    instruccion = "SELECT * from tabla1 as t1 LEFT JOIN (SELECT * FROM " & "[MS Access;PWD=databasePWD;DATABASE=" & strpath & "].tabla1) as t2 ON t1.[TEL_NUM_FACTURA] = t2.[TEL_NUM_FACTURA]  WHERE (((t2.TEL_NUM_FACTURA) Is Null))"
    Dim db      As DAO.Database
    Dim rs      As DAO.Recordset
    Set db = CurrentDb()
    Set rs = db.OpenRecordset(instruccion)
    rs.Close
    Set rs = Nothing
    

    Last edited by Aussiebear; 02-08-2025 at 05:29 PM.

Posting Permissions

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