PC Review


Reply
Thread Tools Rate Thread

Compile Error on Format$

 
 
FireGeek822
Guest
Posts: n/a
 
      26th Jan 2006
I have a report that is to run based on a query. In this query I have
the following as a field.

Date By Month: Format$([tblIssues].[IssueDate],'mmmm yyyy')

Prior to Splitting and distributing the MDE, I compiled the database
(all was working before compile). Now I receive the following error.


Compile Error. in query expression 'Date By Month:
Format$([tblIssues].[IssueDate],'mmmm yyyy')'.


Any thoughts???

Tammy

 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      26th Jan 2006
You have a problem with References.

Open a code window, and choose References on the Tools menu.

More info:
http://allenbrowne.com/ser-38.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"FireGeek822" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a report that is to run based on a query. In this query I have
> the following as a field.
>
> Date By Month: Format$([tblIssues].[IssueDate],'mmmm yyyy')
>
> Prior to Splitting and distributing the MDE, I compiled the database
> (all was working before compile). Now I receive the following error.
>
>
> Compile Error. in query expression 'Date By Month:
> Format$([tblIssues].[IssueDate],'mmmm yyyy')'.



 
Reply With Quote
 
FireGeek822
Guest
Posts: n/a
 
      26th Jan 2006
Allen,

Looks like MS Access 2003 SP2 automatically activated the following
References:
- FPDTC 1.0 Type Library
- MS Web Components 11.0
- MS Office XP Web Components

My project isn't using anything related to the web! For anyone's
knowledge, FPDTC 1.0 Type Library is Front Page Design Time Controls.
That took me a while to find. Again, my project isn't using anything
related to Front Page either.

I removed these unnecessary references. Recompiled and all is working
ok.

THANKS FOR YOUR HELP ALLEN!!!

T-

 
Reply With Quote
 
FireGeek822
Guest
Posts: n/a
 
      26th Jan 2006
THANKS Allen. I have been racking my brain looking at the report and
query and the code between! WoW references! Pick up something new
every day.

So, I just checked them - nothing "MISSING". However, do you know what
"fpdtc 1.0 Library" is? This is foreign to me.

T-

 
Reply With Quote
 
FireGeek822
Guest
Posts: n/a
 
      26th Jan 2006
Ignore the above last message - looks like Google logged these out of
order.

T-

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Error: with VBA call to "Format" jc Microsoft Excel Programming 9 10th Sep 2009 09:29 PM
Export report to Excel, Error message "Compile Error: Argument not mc Microsoft Access External Data 0 16th Jul 2009 09:11 PM
Emulating String.Format compile-time functionality Rick Microsoft C# .NET 7 12th Apr 2007 02:19 AM
VBAProject name compile error, not defined at compile time Matthew Dodds Microsoft Excel Programming 1 13th Dec 2005 07:17 PM
Compile error. in table-level validation expression. (Error 3320) Donna via AccessMonster.com Microsoft Access Database Table Design 2 21st Mar 2005 08:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:10 PM.