Re: Exe Weirdness
From: Rick Rothstein (rickNOSPAMnews_at_NOSPAMcomcast.net)
Date: 01/11/05
- Next message: THX1138: "Re: Unable to open Acces files on a server"
- Previous message: Ralph: "Re: Problem making an EXE file"
- In reply to: U-CDK_CHARLES\\Charles: "Re: Exe Weirdness"
- Next in thread: Ralph: "Re: Exe Weirdness"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 11 Jan 2005 12:02:48 -0500
> >> fileYear = Replace(currCDKFile, "CDK", "", , , vbTextCompare)
> >> fileYear = Replace(currCDKFile, ".mdb", "", , , vbTextCompare)
> >
> > Shouldn't the first argument of the second statement be fileYear and
not
> > currCDKFile? Otherwise, the first statement is having no effect.
> >
> > Rick - MVP
> >
>
> Yes. Transcription error.
Just making sure.<g>
> It doesn't explain why we're getting the "Invalid Property"...
True
> We replaced the replaces with the single Mid$() but I was
> reconstructing the Replace from memory in a big hurry.
>
> Still doesn't explain the mysterious disappearing 'Invalid Property'
> however.
I know you have focused down on the Replace functions, but a 380 error,
as you point out, is an Invalid Property error. The arguments of a
Replace function are not "properties". Properties are what Objects have
and no where in what you have posted do I see an Object of any sort. It
seems unlikely to me that the code you posted is the culprit. After your
last line (LoadCDKYears=True), what do you do? Somewhere, you must try
and open (load) this database, right? How are you doing that?
Rick - MVP
- Next message: THX1138: "Re: Unable to open Acces files on a server"
- Previous message: Ralph: "Re: Problem making an EXE file"
- In reply to: U-CDK_CHARLES\\Charles: "Re: Exe Weirdness"
- Next in thread: Ralph: "Re: Exe Weirdness"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|