Re: Problem with IN clause
From: John Viescas (JohnV_at_nomail.please)
Date: 03/11/04
- Next message: Graham Mandeno: "Re: Concatenation"
- Previous message: John Viescas: "Re: query returning multiple copies of same record"
- In reply to: Steven: "Problem with IN clause"
- Next in thread: Steven: "Re: Problem with IN clause"
- Reply: Steven: "Re: Problem with IN clause"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 11 Mar 2004 17:26:57 -0600
Try this:
sqlUnionQry = "Select * From Vendors
IN '' [MS Access;PWD=pwhistory;DATABASE=C:\History.mdb];"
-- John Viescas, author "Microsoft Office Access 2003 Inside Out" "Running Microsoft Access 2000" "SQL Queries for Mere Mortals" http://www.viescas.com/ (Microsoft Access MVP since 1993) "Steven" <anonymous@discussions.microsoft.com> wrote in message news:b46f01c407a2$0c3542d0$a401280a@phx.gbl... > I get a message back "Not a valid password". But I know > the password is correct. What is wrong with this sql > statement. There must be something structurally incorrect > with the password portion. > > Dim sqlUnionQry As String > sqlUnionQry = "Select * From Vendors > IN 'C:\History.mdb' 'PWD=pwhistory';" > Me.RecordSource = sqlUnionQry > > > Thank you for your help. > > Steven > > >
- Next message: Graham Mandeno: "Re: Concatenation"
- Previous message: John Viescas: "Re: query returning multiple copies of same record"
- In reply to: Steven: "Problem with IN clause"
- Next in thread: Steven: "Re: Problem with IN clause"
- Reply: Steven: "Re: Problem with IN clause"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|