Date() function problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ian Davies

    #1

    Date() function problem

    Dear Access expert

    I am trying to use an mde application developed in Access2k with Access
    2002. I get an Access error box: Function is not available.. Date() etc.
    Is Access 2002 back compatible if so how do I work around this date function
    problem?

    Ian


  • ng

    #2
    Re: Date() function problem

    look up "Missing References" Any time simple stuff like Date() Left()
    Right(), or other simple functions quit working, Tools References, then
    you'll see "MISSING REFERENCE: blah blah" You can click on it, find out what
    file it is, and determine if you can get the file and put it where it wants
    it (the library) or, you could try unchecking that library and see if that
    doesn't fix your problem.

    -dp


    "Ian Davies" <ian.dandav@vir gin.net> wrote in message
    news:Wkw6e.1787 2$il.1457@newsf e5-win.ntli.net...[color=blue]
    > Dear Access expert
    >
    > I am trying to use an mde application developed in Access2k with Access
    > 2002. I get an Access error box: Function is not available.. Date() etc.
    > Is Access 2002 back compatible if so how do I work around this date
    > function
    > problem?
    >
    > Ian
    >
    >[/color]


    Comment

    • Ian Davies

      #3
      Re: Date() function problem

      Thanks will give it a go

      "ng" <ng@ng.com> wrote in message news:bJw6e.1561 1$B12.10612@trn ddc09...[color=blue]
      > look up "Missing References" Any time simple stuff like Date() Left()
      > Right(), or other simple functions quit working, Tools References, then
      > you'll see "MISSING REFERENCE: blah blah" You can click on it, find out[/color]
      what[color=blue]
      > file it is, and determine if you can get the file and put it where it[/color]
      wants[color=blue]
      > it (the library) or, you could try unchecking that library and see if that
      > doesn't fix your problem.
      >
      > -dp
      >
      >
      > "Ian Davies" <ian.dandav@vir gin.net> wrote in message
      > news:Wkw6e.1787 2$il.1457@newsf e5-win.ntli.net...[color=green]
      > > Dear Access expert
      > >
      > > I am trying to use an mde application developed in Access2k with Access
      > > 2002. I get an Access error box: Function is not available.. Date()[/color][/color]
      etc.[color=blue][color=green]
      > > Is Access 2002 back compatible if so how do I work around this date
      > > function
      > > problem?
      > >
      > > Ian
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Ian Davies

        #4
        Re: Date() function problem

        By the way

        Are these missing refs specific to the database or Access as a whole. Can
        the missing refs be resolved from any Database or only from an mdb of the
        one with the problem.
        The reason I ask is that I only want the user to have the mde not the mdb or
        an I going to have to take a trip and visit the users pc?

        Ian


        "Ian Davies" <ian.dandav@vir gin.net> wrote in message
        news:fqy6e.1868 2$S9.10780@news fe5-gui.ntli.net...[color=blue]
        > Thanks will give it a go
        >
        > "ng" <ng@ng.com> wrote in message news:bJw6e.1561 1$B12.10612@trn ddc09...[color=green]
        > > look up "Missing References" Any time simple stuff like Date() Left()
        > > Right(), or other simple functions quit working, Tools References, then
        > > you'll see "MISSING REFERENCE: blah blah" You can click on it, find out[/color]
        > what[color=green]
        > > file it is, and determine if you can get the file and put it where it[/color]
        > wants[color=green]
        > > it (the library) or, you could try unchecking that library and see if[/color][/color]
        that[color=blue][color=green]
        > > doesn't fix your problem.
        > >
        > > -dp
        > >
        > >
        > > "Ian Davies" <ian.dandav@vir gin.net> wrote in message
        > > news:Wkw6e.1787 2$il.1457@newsf e5-win.ntli.net...[color=darkred]
        > > > Dear Access expert
        > > >
        > > > I am trying to use an mde application developed in Access2k with[/color][/color][/color]
        Access[color=blue][color=green][color=darkred]
        > > > 2002. I get an Access error box: Function is not available.. Date()[/color][/color]
        > etc.[color=green][color=darkred]
        > > > Is Access 2002 back compatible if so how do I work around this date
        > > > function
        > > > problem?
        > > >
        > > > Ian
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        • Tim Marshall

          #5
          Re: Date() function problem

          Ian Davies wrote:

          [color=blue]
          > Are these missing refs specific to the database or Access as a whole. Can
          > the missing refs be resolved from any Database or only from an mdb of the
          > one with the problem.
          > The reason I ask is that I only want the user to have the mde not the mdb or
          > an I going to have to take a trip and visit the users pc?[/color]

          I'm afraid it'd be a trip to each PC with an mdb copy and then create an
          mde for that computer.

          I'm not a 2002 user (I play with 97 and 2003) but it may be that the
          refs in 2000 are different from 2002? If I'm wrong here, someone needs
          to club me fast so I don't give Ian the wrong info.

          If this is the case, what I would do is check the refs on a new mdb on
          one of your 2000 machines and then change, if necessary, the refs on the
          2002 machine before making it into an mde - that might do the trick.
          --
          Tim http://www.ucs.mun.ca/~tmarshal/
          ^o<
          /#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
          /^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me

          Comment

          • ng

            #6
            Re: Date() function problem

            Well, what I did was made a batch file that copied ALL the libraries to each
            of the machines. I did it with a batch script in their startup so they
            never knew. But, it was basically:

            copy Z:\accessxp\lib s\*.* %windir%

            Contents of libs:
            Volume in drive Z is NTShare
            Volume Serial Number is 94CD-2C27

            Directory of Z:\AccessXP\adm in\libs

            11/24/2004 04:48 PM <DIR> .
            11/24/2004 04:48 PM <DIR> ..
            01/25/2001 05:25 PM 570,128 dao350.dll
            07/22/2002 03:05 PM 557,328 dao360.dll
            03/07/2001 08:15 AM 435,616 MSACC.OLB
            08/04/2004 12:56 AM 536,576 msado15.dll
            08/03/2004 10:21 PM 61,440 msado20.tlb
            08/03/2004 10:21 PM 61,440 msado21.tlb
            08/03/2004 10:21 PM 81,920 msado25.tlb
            08/03/2004 10:21 PM 81,920 msado26.tlb
            08/03/2004 10:21 PM 81,920 msado27.tlb
            08/04/2004 12:56 AM 180,224 msadomd.dll
            08/04/2004 12:56 AM 57,344 msador15.dll
            08/04/2004 12:56 AM 200,704 msadox.dll
            05/08/2001 08:00 AM 1,503,504 msjet40.dll
            12/07/1999 08:00 AM 74,000 msrclr40.dll
            07/22/2002 03:05 PM 16,896 STDOLE2.TLB
            02/16/2001 11:26 PM 483,328 UTILITY.MDA
            01/22/2001 07:39 PM 2,498,560 VBE6.DLL
            01/22/2001 07:39 PM 45,056 VBE6EXT.OLB
            18 File(s) 7,527,904 bytes
            2 Dir(s) 2,033,442,816 bytes free

            That took care of it on all my OS's.. I have a mix of 98, 2000, and XP.
            Isn't that special? I guess it's overkill to have multiple versions of
            libraries, but it doesn't matter realty isn't an issue. The MDB just knows
            which library it needs, and because it finds it in the sys path, then it's
            happy with it's references. Missing references really tick me off in
            particular because it's like "WHY DIDN'T THEY GET LOADED ON INSTALL?" Why
            ask anything about Microsoft, or how, or why they do what they do. All I
            know is I get to keep juggling to accomodate their changes - in everything.

            -Brian




            "Tim Marshall" <TIMMY!@PurpleP andaChasers.Moe rtherium> wrote in message
            news:d3ed5g$gv0 $1@coranto.ucs. mun.ca...[color=blue]
            > Ian Davies wrote:
            >
            >[color=green]
            >> Are these missing refs specific to the database or Access as a whole. Can
            >> the missing refs be resolved from any Database or only from an mdb of the
            >> one with the problem.
            >> The reason I ask is that I only want the user to have the mde not the mdb
            >> or
            >> an I going to have to take a trip and visit the users pc?[/color]
            >
            > I'm afraid it'd be a trip to each PC with an mdb copy and then create an
            > mde for that computer.
            >
            > I'm not a 2002 user (I play with 97 and 2003) but it may be that the refs
            > in 2000 are different from 2002? If I'm wrong here, someone needs to club
            > me fast so I don't give Ian the wrong info.
            >
            > If this is the case, what I would do is check the refs on a new mdb on one
            > of your 2000 machines and then change, if necessary, the refs on the 2002
            > machine before making it into an mde - that might do the trick.
            > --
            > Tim http://www.ucs.mun.ca/~tmarshal/
            > ^o<
            > /#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
            > /^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me[/color]


            Comment

            Working...