Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8450713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:02:49+00:00 2026-06-10T11:02:49+00:00

a colleague has a small problem with a value Assignment in Access 2007. The

  • 0

a colleague has a small problem with a value Assignment in Access 2007. The problem is that it stoped working overnight for no obvious reason. It seems to work with Access 2010 when my colleague sent me the Database.

Private Sub BestätigenMieter_Click()
Dim db As Database, AuswahlNr As Integer, datensatz As Recordset

Set db = CurrentDb
Set datensatz = db.OpenRecordset("KostenaufteilungWohnung", DB_OPEN_TABLE)
AuswahlNr = [AuswahlMieter]

'This Line does not work in Access 2007
Forms!MieterProObjekt!UFMieterObjekt.Form![MieterNr] = AuswahlNr

DoCmd.close acForm, "ZuteilungMieter"
DoCmd.GoToControl "LFD"
End Sub

Does anyone see any reason why this should not work.
Access doesn’t even execute this code in 2007, only when you delete the line it will execute this function.

So any hint why this would not work would be appreacited.

Thanks Lim

—Update—-

Thanks to everyone for the input. 🙂
We could not find the problem, although it seems that some of the code in the Database is missing for unknown reasons… this explains at least why it’s not working. We requested a backup Version (thats what i should have thought of in the first place :)). I will update or Close if the problem is solved then 🙂

–Update–
Problem solved, Backup Database is working as intended and nobody knows why 🙂
Thanks for the input and help guys 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T11:02:50+00:00Added an answer on June 10, 2026 at 11:02 am

    Problem solved with backup Database

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Access 2007 is telling me that my new expression is to complex. It used
A colleague of mine has a remote git repo that I wanted to clone
A colleague has passed me an interesting code sample that crashes with an InvalidProgramException
A colleague has a stash in their repository which I can access (via the
I am working on Iphone Application.One of my colleague has written a web service
My colleague has found himself in an interesting situation. He is working on a
I'm working on my first real WinForms application, and my boss has asked that
My SEO colleague has fired in a few url requests that involve moving www.mydomain.co.uk/news
A colleague has a batch script program which needs to to run on a
A new colleague has just suggested using named HQL queries in Hibernate with annotations

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.