Re: Connection syntax not right
From: Bernie Yaeger (berniey_at_cherwellinc.com)
Date: 02/28/04
- Next message: Alexandre Moura: "Re: ascii length??"
- Previous message: Neil Robbins: "Re: Check for another application running in Windows"
- In reply to: Kimberley Wiggins: "Connection syntax not right"
- Next in thread: Kimberley Wiggins: "Re: Connection syntax not right"
- Reply: Kimberley Wiggins: "Re: Connection syntax not right"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Feb 2004 21:01:42 -0500
Hi Kim,
First of all, you don't have an opening quote before otr.mdb" (s/b
"otr.mdb"). Also, debug or messagebox.show to get the actual string
represented by application.startup - do you have to append "\" to it?
HTH,
Bernie Yaeger
"Kimberley Wiggins" <kimwiggins@greenwaymedical.com> wrote in message
news:eycU3vZ$DHA.1956@TK2MSFTNGP10.phx.gbl...
> Can someone please tell me what is wrong with this syntax? I am just
> really frustrated. I am trying to use the application startup path for
> this but it does not like this syntax for some reason. Does something
> look out of place here?
>
> Dim strOTRConnection As String = "Provider=Microsoft.Jet.OLEDB.4.0;
> Data Source= Application.Startup & otr.mdb"
>
> I know this is the problem because if I move my database to my C drive
> it works fine.
> Thanks
>
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
- Next message: Alexandre Moura: "Re: ascii length??"
- Previous message: Neil Robbins: "Re: Check for another application running in Windows"
- In reply to: Kimberley Wiggins: "Connection syntax not right"
- Next in thread: Kimberley Wiggins: "Re: Connection syntax not right"
- Reply: Kimberley Wiggins: "Re: Connection syntax not right"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|