I found similiar issues in MS-KB but nothing that helped
me; got the Windows and Office updates from the MS website
but that hasn't changed the behavior of this problem, and
I don't see anything relevant in the newsgroup; help will
be gratefully received.
Windows 2000 system, I'm logged in with admin rights, using
Office 2003. I have two databases on my local drive, in
the same subdirectory. In the database HAMCHEESE, I create
an append query to write records to the db BREAD. Both of
these dbs have the same on-open password (call it MUSTARD.)
When the opening password is on, the append query from
HAMCHEESE tries to write certain records to BREAD, but
is unable, and I get an error: "invalid password."
Removing the password from BREAD lets the append query run
without problem. But we'd rather not have these dbs unprotected
and I'd rather not have to remove the pw each time I run the
query and then replace it.
Anybody? Please? TIA!
_______________________________________________
Ken Kuzenski AC4RD kuzen001 at acpub .duke .edu
_______________________________________________
All disclaimers apply, see? www.duke.edu/~kuzen001 7 4169 ku******@duke.edu wrote: I found similiar issues in MS-KB but nothing that helped me; got the Windows and Office updates from the MS website but that hasn't changed the behavior of this problem, and I don't see anything relevant in the newsgroup; help will be gratefully received.
Windows 2000 system, I'm logged in with admin rights, using Office 2003. I have two databases on my local drive, in the same subdirectory. In the database HAMCHEESE, I create an append query to write records to the db BREAD. Both of these dbs have the same on-open password (call it MUSTARD.)
When the opening password is on, the append query from HAMCHEESE tries to write certain records to BREAD, but is unable, and I get an error: "invalid password."
Removing the password from BREAD lets the append query run without problem. But we'd rather not have these dbs unprotected and I'd rather not have to remove the pw each time I run the query and then replace it.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Not sure about this, but I believe you can include the password in the
query like this:
UPDATE TableName In "C:\My Documents\myDB.mdb;PWD=password"
SET ColumnName = NewValue
WHERE <criteria>
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBQH2aoIechKqOuFEgEQJlMQCfY97adUBabIxPgnyCGYUnJI mucbkAn11H
8SG3g568esrge1+tKKbVyjd2
=KYK9
-----END PGP SIGNATURE-----
MGFoster <me@privacy.com> wrote: ku******@duke.edu wrote: HAMCHEESE tries to write certain records to BREAD, but is unable, and I get an error: "invalid password."
Not sure about this, but I believe you can include the password in the query like this: UPDATE TableName In "C:\My Documents\myDB.mdb;PWD=password"
Thanks, MG, but I'm including it already; Access generated
this syntax so I've been assuming it's correct:
INSERT INTO [;PWD=mustard].tblPFTs ( MRN, TestDate, FVC, FEV1, TLC, FRC,
Unc_DLCO, DLCO, Pct_FVC, Pct_FEV1, Pct_TLC, Pct_FRC, Pct_Unc_DLCO,
Pct_DLCO, VA, Hgb, Done_at, PFT_note, Includeme, AddedBy ) IN
'C:\REFRIGERATOR\BREAD.mdb'[;PWD=mustard]
SELECT [TBLNames].MRN, [TblPFTs].TestDate, [TblPFTs].FVC, [TblPFTs].FEV1,
[TblPFTs].TLC, [TblPFTs].FRC, [TblPFTs].Unc_DLCO, [TblPFTs].DLCO,
[TblPFTs].Pct_FVC, [TblPFTs].Pct_FEV1, [TblPFTs].Pct_TLC,
[TblPFTs].Pct_FRC, [TblPFTs].Pct_Unc_DLCO, [TblPFTs].Pct_DLCO,
[TblPFTs].VA, [TblPFTs].Hgb, [TblPFTs].Done_at, [TblPFTs].PFT_note,
[TblPFTs].Includeme, "App qry" AS Expr1
FROM [TBLNames] LEFT JOIN [TblPFTs] ON [TBLNames].Pat_ID =
[TblPFTs].Pat_ID
WHERE ((([TblPFTs].Exportme)=True));
_______________________________________________
Ken Kuzenski AC4RD kuzen001 at acpub .duke .edu
_______________________________________________
All disclaimers apply, see? www.duke.edu/~kuzen001 ku******@duke.edu wrote: MGFoster <me@privacy.com> wrote:
ku******@duke.edu wrote:
HAMCHEESE tries to write certain records to BREAD, but is unable, and I get an error: "invalid password."
Not sure about this, but I believe you can include the password in the query like this: UPDATE TableName In "C:\My Documents\myDB.mdb;PWD=password"
Thanks, MG, but I'm including it already; Access generated this syntax so I've been assuming it's correct:
INSERT INTO [;PWD=mustard].tblPFTs ( MRN, TestDate, FVC, FEV1, TLC, FRC, Unc_DLCO, DLCO, Pct_FVC, Pct_FEV1, Pct_TLC, Pct_FRC, Pct_Unc_DLCO, Pct_DLCO, VA, Hgb, Done_at, PFT_note, Includeme, AddedBy ) IN 'C:\REFRIGERATOR\BREAD.mdb'[;PWD=mustard] SELECT [TBLNames].MRN, [TblPFTs].TestDate, [TblPFTs].FVC, [TblPFTs].FEV1, [TblPFTs].TLC, [TblPFTs].FRC, [TblPFTs].Unc_DLCO, [TblPFTs].DLCO, [TblPFTs].Pct_FVC, [TblPFTs].Pct_FEV1, [TblPFTs].Pct_TLC, [TblPFTs].Pct_FRC, [TblPFTs].Pct_Unc_DLCO, [TblPFTs].Pct_DLCO, [TblPFTs].VA, [TblPFTs].Hgb, [TblPFTs].Done_at, [TblPFTs].PFT_note, [TblPFTs].Includeme, "App qry" AS Expr1 FROM [TBLNames] LEFT JOIN [TblPFTs] ON [TBLNames].Pat_ID = [TblPFTs].Pat_ID WHERE ((([TblPFTs].Exportme)=True));
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
That looks incorrect. It looks as if the string ";PWD=mustard" has been
defined as a table! I'd change the INSERT INTO clause to this:
INSERT INTO tblPFTs IN "C:\REFRIGERATOR\BREAD.mdb;PWD=mustard"
( MRN, TestDate, FVC, FEV1, TLC, FRC, Unc_DLCO, DLCO, Pct_FVC, Pct_FEV1,
Pct_TLC, Pct_FRC, Pct_Unc_DLCO, Pct_DLCO, VA, Hgb, Done_at, PFT_note,
Includeme, AddedBy )
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBQH7cKYechKqOuFEgEQJUtQCfVp3z5WJ2VNFYmOW2HSKTfv FQ+A4AoJNq
3TYdvnmax/y8fsMACZizQsUF
=v/iM
-----END PGP SIGNATURE-----
MGFoster <me@privacy.com> wrote: That looks incorrect. It looks as if the string ";PWD=mustard" has been defined as a table! I'd change the INSERT INTO clause to this:
THank you very much, MG! I assumed that the string
that Access generated would be correct--I'll give this
a try in the morning. Thanks!
--Ken
_______________________________________________
Ken Kuzenski AC4RD kuzen001 at acpub .duke .edu
_______________________________________________
All disclaimers apply, see? www.duke.edu/~kuzen001
I have been working on an almost identical problem; here is my solution -
SELECT Count(Contracts.ContractNo) AS UnitsSold
FROM Contracts
IN "" [MS Access;DATABASE=C:\....Data.mdb;PWD=.....;]
WHERE (Contracts.ContractDate etc ;
This format is one of several in the IN Clause Help, but it was not clear
that it applied to the above situation.
Clive
<ku******@duke.edu> wrote in message
news:c5**********@gargoyle.oit.duke.edu... MGFoster <me@privacy.com> wrote:
That looks incorrect. It looks as if the string ";PWD=mustard" has been defined as a table! I'd change the INSERT INTO clause to this:
THank you very much, MG! I assumed that the string that Access generated would be correct--I'll give this a try in the morning. Thanks!
--Ken _______________________________________________ Ken Kuzenski AC4RD kuzen001 at acpub .duke .edu _______________________________________________ All disclaimers apply, see? www.duke.edu/~kuzen001
CDB <al***@delete.wave.co.nz> wrote: I have been working on an almost identical problem; here is my solution -
Clive, thanks so much! That's two things to try
this morning--I appreciate it!
_______________________________________________
Ken Kuzenski AC4RD kuzen001 at acpub .duke .edu
_______________________________________________
All disclaimers apply, see? www.duke.edu/~kuzen001
CDB <al***@delete.wave.co.nz> wrote: FROM Contracts IN "" [MS Access;DATABASE=C:\....Data.mdb;PWD=.....;] WHERE (Contracts.ContractDate etc ;
I tried this version first and it works perfectly.
Many, many thanks to Clive and MG for the help!
I know now that I can't depend on syntax to be correct
just because Access generates it. :->
THANKS!
--Ken
_______________________________________________
Ken Kuzenski AC4RD kuzen001 at acpub .duke .edu
_______________________________________________
All disclaimers apply, see? www.duke.edu/~kuzen001 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: |
last post by:
I found similiar issues in MS-KB but nothing that helped
me; got the Windows and Office updates from the MS website
but that hasn't changed the behavior of this problem, and
I don't see anything...
|
by: Dica |
last post by:
i've used the sample code from msdn to create an encyption/decryption
assembly as found here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT10.asp
i'm...
|
by: Winterminute |
last post by:
I am trying to read a list of install programs using WMI with ASP.NET/C#.
However, it fails with "Invalid Class".
I have confirmed that if I query LOCALHOST then it works fine, but if I
query a...
|
by: Simon Harris |
last post by:
I'm trying to access a password protected web service. My code is as
follows:
Dim BS7666 As New bs7666.BS7666 'New instance of my web service
Dim CredCache As CredentialCache = New...
|
by: Java Guy |
last post by:
I'm trying to view a web page. IE tells me there are (Java?) errors
on the page. Here they are:
Line: 15
Char: 7
Error: Wrong number of arguments or invalid propert assignment
Code: 0
URL:...
|
by: FrankieBakerJr |
last post by:
Hello all
I have an ASP.NET 2003 application (running Windows XP) that allows user to change and reset their Active Directory password. I'm using an admin account to query and reset the passwords...
|
by: groupie |
last post by:
Hi,
I'd like to know how to implement the "Forgot Password" feature on
many websites which require a login, exactly like this ebay example:...
|
by: Kerem Gümrükcü |
last post by:
Hi,
i have a Process.Start call that fails with 267 Error Code
if invoked with another user and password other than the
applications user. It is a ordinary piece of code just create
a Process...
|
by: lai.love.chen |
last post by:
I encounted this error when i restored database.
but the usename and password is right.
|
by: linyimin |
last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
|
by: erikbower65 |
last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA:
1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
|
by: kcodez |
last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
|
by: DJRhino1175 |
last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this -
If...
|
by: DJRhino |
last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer)
If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _
310030356 Or 310030359 Or 310030362 Or...
|
by: lllomh |
last post by:
Define the method first
this.state = {
buttonBackgroundColor: 'green',
isBlinking: false, // A new status is added to identify whether the button is blinking or not
}
autoStart=()=>{
|
by: lllomh |
last post by:
How does React native implement an English player?
|
by: Mushico |
last post by:
How to calculate date of retirement from date of birth
|
by: DJRhino |
last post by:
Was curious if anyone else was having this same issue or not....
I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
| | |