Re: Query Problem

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Michel Walsh (vanderghast_at_VirusAreFunnierThanSpam)
Date: 11/30/04


Date: Tue, 30 Nov 2004 13:51:46 -0500

Hi,

    If you are within Access, then those seem all related to the same
problem: from the menu, Tools | References... and a list of reference is
displayed, but one that is checked, in its description, begin with the words
MISSING. Uncheck that reference (or find its location, if that reference is
really required). Save and try again.

Hoping it may help,
Vanderghast, Access MVP

"DCFujiwara" <douglas.fujiwara@utoronto.ca> wrote in message
news:%23Fj6$dv1EHA.936@TK2MSFTNGP12.phx.gbl...
> Hello Michael.
>
> Yes, the error message specifically mentions the Format function.
>
> I have another query with the same type of problem;
> SELECT
> T.TeamName AS Team, UCase([C.FirstName]) & " " & UCase([C.LastName]) AS
> CName, C.Address AS CAddress,
> [C.City] & " " & [C.PostalCode] AS CCity, C.EmailAddress AS CEMail,
> C.HomePhone AS CHPhone, C.LegionPhone
> AS CLPhone, C.FaxPhone AS CFax, [P.LastName] & ", " & [P.FirstName] AS
> PName, P.HomePhone AS PHPhone,
> P.EmailAddress AS PEMail
> FROM
> Players AS P INNER JOIN (Players AS C INNER JOIN (Teams AS T INNER JOIN
> TeamPlayers AS TP
> ON T.TeamID=TP.TeamID) ON C.PlayerID=T.CaptainID) ON
> P.PlayerID=TP.PlayerID
> WHERE
> (((TP.TeamID)=T.TeamID) And ((TP.PlayerID)=P.PlayerID) And
> ((T.CaptainID)=C.PlayerID) And
> ((Left([P.LastName],1))<>"*"))
> ORDER BY
> T.TeamName, [P.LastName] & ", " & [P.FirstName];
>
> Both the UCase function and the Left function are specifically mentioned
> in
> the error message.
>
> Doug.
>
> "Michel Walsh" <vanderghast@VirusAreFunnierThanSpam> wrote in message
> news:OdJ7Ayj1EHA.2876@TK2MSFTNGP12.phx.gbl...
>> Hi,
>>
>> Does it SPECIFICALLY mentions the Format function? If not, you may
> have
>> a problem of reference, and the error then occur in the first external
>> function call, here Format. Check your project references.
>>
>>
>>
>> Hoping it may help,
>> Vanderghast, Access MVP
>>
>>
>> "DCFujiwara" <douglas.fujiwara@utoronto.ca> wrote in message
>> news:ec49jMj1EHA.1404@TK2MSFTNGP11.phx.gbl...
>> >I run the following query in an Access 2003 database (MDB) running under
>> > Windows 2000:
>> >
>> > SELECT S.ScheduleID, Format(S.GameDate,"dd-mmm-yyyy") & ": " &
>> > [V.TeamName]
>> > & " vs " & [H.TeamName]
>> > AS ScedEntry, S.WeekID, S.GameDate, V.TeamName
>> > FROM
>> > Teams AS V INNER JOIN (Teams AS H INNER JOIN Schedule AS S ON
>> > H.TeamID
> =
>> > S.HomeID)
>> > ON V.TeamID = S.VisitingID
>> > WHERE
>> > (((S.VisitingID)=[V].[TeamID]) AND ((S.HomeID)=[H].[TeamID]))
>> > ORDER BY
>> > S.WeekID, S.GameDate, V.TeamName;
>> >
>> > If I copy the MDB file to a PC running Access 2003 under Windows XP
>> > SP2.
>> > this query produces and error message indicating that the FORMAT
> function
>> > cannot be used in the query, yet it runs OK running under Windows 2000.
>> >
>> > Help would be appreciated.
>> >
>> >
>>
>>
>
>



Relevant Pages

  • Re: Halt screen startling inexperienced users
    ... No, it didn't work, but it did change my error message to ... required to display that Active X control (instead of the ... Objects 2.1 Library Reference and 2.5 Library Reference. ... On opening the report the macro opens the user ...
    (microsoft.public.access.macros)
  • RE: Setting references in runtime application
    ... If I understand correctly that you encountered the following error message ... when you use Format function in your user's laptop. ... Please check the reference of the Access database in the laptop. ...
    (microsoft.public.access.reports)
  • Re: Word Automation printing problem
    ... It doesn't seem to relate to the error message, ... > reference to the Microsoft Word Object Library 10.0 in my 2002 Access; ... > Set appWord = GetObject ... > Set Docs = Nothing ...
    (microsoft.public.word.vba.general)
  • Configuration Error...
    ... An error occurred during the processing of a configuration file ... Parser Error Message: Access is denied: 'WebChart'. ... LOG: DisplayName = WebChart ... LOG: Post-policy reference: WebChart ...
    (microsoft.public.dotnet.framework.aspnet)
  • Configuration Errors
    ... An error occurred during the processing of a configuration file ... Parser Error Message: Access is denied: 'WebChart'. ... LOG: DisplayName = WebChart ... LOG: Post-policy reference: WebChart ...
    (microsoft.public.dotnet.framework.aspnet)