Re: Not enough Parameters?
From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 02/25/05
- Next message: Brian Bushay TeamB: "Re: How to clone a TADOQuery"
- Previous message: Brian Bushay TeamB: "Re: AsyncExecute blocks new connection on Connect:=True"
- In reply to: jason: "Not enough Parameters?"
- Next in thread: jason: "Re: Not enough Parameters?"
- Reply: jason: "Re: Not enough Parameters?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 24 Feb 2005 21:52:34 -0600
>I have written the following function to compact & repair my
>MS Access database.
>
>My problem is that I keep getting the following exception on the
>V.CompactDatabase line saying "project blah.exe raised exception class EOleSysError with message 'Invalide number of parameters'"
> V.CompactDatabase('Provider=Microsoft.Jet.OLEDB.4.0;Data Source='+DB+';Mode=Share Deny None;Persist Security Info=false;Jet OLEDB:Database Password=xxxxxxx' +
> 'Provider=Microsoft.Jet.OLEDB.4.0;Data Source='+DB+'x;Mode=Share Deny None;Persist Security Info=false;Jet OLEDB:Database Password=xxxxxxx');
I don't see a coma separating the two parameters that compactDatabase requires
-- Brian Bushay (TeamB) Bbushay@NMPLS.com
- Next message: Brian Bushay TeamB: "Re: How to clone a TADOQuery"
- Previous message: Brian Bushay TeamB: "Re: AsyncExecute blocks new connection on Connect:=True"
- In reply to: jason: "Not enough Parameters?"
- Next in thread: jason: "Re: Not enough Parameters?"
- Reply: jason: "Re: Not enough Parameters?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|