format wordt niet herkend op sominge pc's in een netwerk

Status
Niet open voor verdere reacties.

babol

Gebruiker
Lid geworden
16 nov 2004
Berichten
30
In ons netwerk hebben enkele pc's problemen met de functie format in de bijgevoegde SQL en andere niet.
Hoe komt dit en is er iets aan te doen?

Format(Int([Uitbet MO Opm]![bedrag_schijf]))+"."+Format(([Uitbet MO Opm]![bedrag_schijf]-Int([Uitbet MO Opm]![bedrag_schijf]))*100,"00")

De bedoeling is om een xml-tekstregel te verkrijgen met een getal waarvan de decimale aanduiding gebeurt met een punt los van de landinstelling van de pc
 
Wat zijn de verschillen en overeenkomsten tussen die PC's? Office versie, OS versie?


Grtz,
 
er zijn verschillen qua Access (namelijk: 97 en 2000)
en verschillen voor windows (namelijk: NT en XP)

Maar het fenomeen doet zich ook voor binnen de groep Access 97-Windows NT.
Ook de functie Chr() blijkt gevoelig.
 
Maakt iedereen gebruik van dezelfde database? Dan vraag je om problemen. 97 en 2000 zijn namelijk op geen enkele manier met elkaar te vergelijken.

Toen MS Access 2000 heeft uitgebracht hebben ze de bestandsindeling op z'n kop gezet. Daarnaast is er veel in functionaliteit gewijzigd.

Ik denk dat je moet proberen voor de verschillende groepen (access 97 en access 2000) een aparte goed werkende database te maken.


Grtz,
 
Date problems

May have problems using =Date() for a default value and in using date() in queries, forms or reports gives an error message of #name? or Function isn't available in expressions in query
expression'Format ([Register Date],"ddmmyy"] = Format[Date(),"ddmmyy"])'
Using =Now() may work but inconvenient as includes time.
pop up the Debug window and check these functions work well there. Even a module may not be referenced in a query, report or form try to recompile all modules, including in forms where
Access Basic may be hidden away in command buttons (look at the design of a button by pressing the three dots by the onclick event)
It may be caused by having a field called date- a reserved word- rename the field
If you receive an error message such as "Undefined Function" or "Function not available in query expressions," you probably lost some of your library references when you last upgraded. Open a
module (if you have no modules, go to a form with buttons and look at the Access code, or click New on the Modules tab) and select References from the Tool menu. Check the listing in the
Available References control. verify you have (the following apply to Access 97):
Visual Basic For Applications
Microsoft Access 8.0 Object Library
Microsoft DAO 3.5 Object Library
Microsoft Common Dialog Control 5.0
Microsoft Windows Common Controls 5.0
If you find one tagged Missing, uncheck it. From the Debug menu, choose Compile and Save All Modules. This should resolve your missing references.
Similar to above:
1. On the Modules tab, click New.
2. On the Tools menu, click References.
3. In the References dialog box, pick any single reference that is not already selected, click to select it, note which one you selected, and then click OK.
4. On the Tools menu, click References again.
5. Click to clear the reference that you selected in step 4, and then click OK.
7. Rerun the query, the form, or the report on which you saw the errors mentioned to see if the problem has gone away



Blijkt te werken
:thumb:
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan