Notice: Undefined offset: 2 in /home2/icentarb/public_html/icentar/classes/class.permissions.php on line 735
Function Kompakt()
Dim Db As DATABASE
Dim StaroIme As String
Dim NovoIme As String
Dim Putanja As String
Set Db = CurrentDb()
StaroIme = Db.Name
Putanja = ImeBaze(StaroIme)
NovoIme = Putanja & "Nova.mdb"
StaroIme = Putanja & "_be.mdb" '* ovdje se vrsi izmjena imena
If Dir(NovoIme) <> "" Then _
Kill NovoIme
DBEngine.CompactDatabase StaroIme, _
NovoIme
Kill StaroIme
Name NovoIme As StaroIme
End Function
Function ImeBaze(Putanja As String) As String
Do Until Right$(Putanja, 1) =