Results 1 to 10 of 10
  1. #1
    raffie77 is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2011
    Posts
    21

    create MDE failed

    Dag mensen,



    ik heb een forntend en een backend database daaraan een MDW gekoppeld
    maar ik wil geen mdw maar een MDE bestand
    ik wil alles zo hard mogelijk dicht timmeren.

    ik heb de database in access 2003 formaat maar als ik een mde wil maken word er steeds aangegeven dat dat niet kan.
    ik las op internet dat ik een vba project moet compileren?
    weet iemand hoe dat moet?
    of heeft het te maken dat ik nu een mdw heb gekoppeld, ik ben wel als beheerder ingelogd nu dus ik zou alle rechten moeten hebben

    trouwens ik heb dat compileren gevonden
    in een formulier heb ik velden als je op een veld postcode klikt dan zie je een tekstblokje in het formulier die uitlegt wat een postcode is (onfocus) en als je het veld verlaat (lost focus) is dit weer leeg
    dit vind acces niet leuk
    bij compileren krijg ik de melding:


    Kan de methode of het gegevenslid niet vinden (Fout 461)
    voorbeeld van zo'n code (wat prima werkt)

    Private Sub Postcode_GotFocus()
    Me.tb_help.Value = "postcode van de klant"
    End Sub

    Private Sub Postcode_LostFocus()
    Me.tb_help.Value = ""
    End Sub

    is toch niks raars aan?

    Ralph
    Last edited by raffie77; 08-24-2011 at 01:50 PM. Reason: translated to english

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,641
    English might be helpful.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    raffie77 is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2011
    Posts
    21
    Quote Originally Posted by June7 View Post
    English might be helpful.
    oh yeah whoops I thought it was a dutch form

    ok here whe go

    I have a backend and a frontend database with a MDW linked (Access 2003)
    users can just doubbleclick on the mdb and it opens but they can't edit anything
    I want to make a MDE file instead of MDW

    when I create a MDE it says that it's not possible
    and gives me some explanation over table id's and VBA stuff

    I read on some forums that I need to Compile the VBA project and I did
    and somehow the compiler doesn't like this code and gives me this errormessage:
    Method or data member not found (Error 461)

    Code:
    Private Sub Postcode_GotFocus()
    Me.tb_help.Value = "postcode van de klant"
    End Sub
    
    Private Sub Postcode_LostFocus()
    Me.tb_help.Value = ""
    End Sub
    what's wrong about this code?

  4. #4
    raffie77 is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2011
    Posts
    21
    annyone idea

    why I get this error message on this code during compiling?
    (Method or data member not found (Error 461))
    Code:
    Private Sub Postcode_GotFocus()
    Me.tb_help.Value = "postalcode of customer"
    End Sub

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,641
    I probably can't help. I have never converted file to an mde.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Where do you have this code? In a Standard Module or the code module of a Form? Have you tried *importing* everything into a fresh new db and see if the problem follows?

  7. #7
    raffie77 is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2011
    Posts
    21
    Quote Originally Posted by RuralGuy View Post
    Where do you have this code? In a Standard Module or the code module of a Form? Have you tried *importing* everything into a fresh new db and see if the problem follows?
    Hi RuralGuy
    it's located in a form,
    I have not imported to a new Database yet,
    does that make a big difference? the codes will come along with the forms.
    what is the "big" change by doing that?


    Ralph

  8. #8
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It tends to leave any corruption behind. You will not be able to make an MDE until it will compile without any errors.

  9. #9
    raffie77 is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2011
    Posts
    21
    Quote Originally Posted by RuralGuy View Post
    It tends to leave any corruption behind. You will not be able to make an MDE until it will compile without any errors.
    hmm ok I'll give it a try
    thanks for your advise

    I apreciate that

    Ralph

  10. #10
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Post back in this thread if that does not resolve the issue.

Please reply to this thread with any new information or opinions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums