Toon posts:

[ACCESS] Undefined function 'Date' in expression

Pagina: 1
Acties:

Verwijderd

Topicstarter
Goede morgen!

Ik heb een Database gemaakt met een Query die de huidige datum vergelijkt met de ingevoerde datum. In de expressie heb ik dat opgegeven met Date(). Het werkt allemaal perfect, totdat ik de complete mdb kopieer naar een andere pc. Op die pc staat exact dezelfde Office 2003 versie, geinstalleerd vanaf dezelfde cd. Dezelfde updates en service packs zijn gedraait. nu krijg ik dus de foutmelding: Undifend function 'Date' in expression. DAMN :( . Als ik op een andere pc de mdb open (op een Office 2000 bak) dan krijg ik ook hetzelfde....

Nu heb ik al op internet gezocht en op msdn.com. Maar het is mij nu nog steeds onduidelijk. Wel hebben ze het op sommige sites het over "librarys". Op GOT vond ik wel een topic, maar de kennis om dat te begrijpen heb ik niet. De link:

Access: Undefined function 'UCase' in expression

Wie kan mij er bij helpen? :?

oh ja, vergeet nog ff te zeggen. De DATE() functie wordt wel herkend op de PC waar mijn DB het niet doet. Want als ikeen tekstvak maak in een formulier en ik zet er =date() in, dan werkt het wel goed.

[ Voor 12% gewijzigd door Verwijderd op 16-06-2004 11:46 ]


  • Spider.007
  • Registratie: December 2000
  • Niet online

Spider.007

* Tetragrammaton

Een wat duidelijkere uitleg van wat ook in dat andere topic staat:
Your references are probably messed up.

This is caused by differences in either the location or file version of certain filesbetween the machine where the application was developed, and where it's being run (orthe file missing completely from the target machine). Such differences are commonwhen new software is installed.On the machine(s) where it's not working, open any code module (or open the DebugWindow, using Ctrl-G, provided you haven't selected the "keep debug window on top"option). Select Tools | References from the menu bar. Examine all of the selectedreferences.If any of the selected references have "MISSING:" in front of them, unselect them,and back out of the dialog. If you really need the reference(s) you just unselected(you can tell by doing a Compile All Modules), go back in and reselect them.If none have "MISSING:", select an additional reference at random, back out of thedialog, then go back in and unselect the reference you just added. If that doesn'tsolve the problem, try to unselect as many of the selected references as you can(Access may not let you unselect them all), back out of the dialog, then go back inand reselect the references you just unselected. (NOTE: write down what thereferences are before you delete them, because they'll be in a different order whenyou go back in)
Zo moet je er wel uitkomen denk ik :)

---
Prozium - The great nepenthe. Opiate of our masses. Glue of our great society. Salve and salvation, it has delivered us from pathos, from sorrow, the deepest chasms of melancholy and hate


Verwijderd

Topicstarter
Je bent geweldig! het werkt!MIJN DANK IS GROOT!