The navigation form in access 2010

I have several calculated fields in a sub form and when I try to add the form and its sub form to a navigation form the calculated fields in the sub form stop working.

Hi bobinmil,
>> I have several calculated fields in a sub form
Did you make a test that the calculated fields in the sub form worked correctly?
>> I try to add the form and its sub form to a navigation form the calculated fields in the sub form stop working.
I made a simple demo and reproduced your issue by the steps below:
1. Create one form with two textbox and a sub form which has a textbox in;
2. Set control source of the textbox in the sub form as “=[Forms]![Form11]![t1]*[Forms]![Form11]![t2]”;
3. At this moment, the form worked ok, and then add the form to a navigation form
4. The calculated field in the sub form did not work;
In this demo, the reason the calculated field did not work is that the “=[Forms]![Form11]![t1]*[Forms]![Form11]![t2]” is wrong. In the navigation form, it could not get the sub form “Form11” and could not get the textbox “t1” and “t2”. To resolve this issue,
we could get the textbox “t1” and “t2” by getting the parent form of the sub form.
The code like below:
Private Sub Text2_Click()
'Debug.Print Me.Text2
Dim a As Integer
Dim b As Integer
a = Me.Parent.t1
b = Me.Parent.t2
Me.Text2 = a * b
End Sub
If it is different from your project, I would recommend you provide sample code to reproduce this issue and share it through the OneDrive.
Best Regards,
Edward
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.

Similar Messages

  • How to maximize the opening form in Access 2010

    We have a number of Access 2000 front end apps which use the autoexec macro to maximize the main form. When we migrate them to 2010 the options have changed and maximize is no longer one of them. This makes a cluttered user screen with windows popping
    up in various locations as the user works with the app. I would also like to hide the database window from the user but for now just getting a clean screen with only a single form or report would be nice.PGordini

    You can use the DoCmd.Maximize Method to maximize the form:
    http://msdn.microsoft.com/en-us/library/ff195449.aspx
    BR
    Mads
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Adding data to multiple tables using one form in Access 2010?

    Hi All,
    I have a access database with two tables and I want to create a single form to enter data into that tables.
    How to adding data to multiple tables using one form in Access 2010?
    I don't have to much knowledge of access database?
    Please help me
    Thanks
    Balaji

    You really don't enter identical data into 2 tables.  You enter dat into one single table, and then you have an unique identifier that maps to another table (you have a unique relationship between two tables). 
    Maybe you need to read this.
    http://office.microsoft.com/en-001/access-help/database-design-basics-HA001224247.aspx
    Think about it this way...  What is you update data in 2 tables, and then the data in one of those tables changes, but the data in the other table does NOT change.  WHOOPS!!  Now, you've got a BIG problem.  For instance, you have a customer
    named Bill Gates.  In one Table you update Bill's address to 1835 73rd Ave NE, Medina, WA 98039 and in the other table you accidentally update Bill's address to 183 73rd Ave NE, Medina, WA 98039.  Now you have 2 addresses for Bill.  Why would
    you want that???  Which is right?  No one knows.  If you have one address, you just have to update one address and if there is a mistake, you just have to update one address, but you don't have to waste time trying to figure out which is right
    and which is wong...and then update the one that is wrong.
    Post back with specific questions.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Can't save changes to forms in access 2010 db format 2007

    Access 2010 - file format Access 2007 cannot save design changes
    On a previously designed form which works, I went back to change a check box from enabled "Yes" to "No" - I am then prompted to save changes and I click "Yes" but the form will not save or close. To close the form I must select "No" to the changes and they
    are lost.  If I return to form view the changes are also lost when I close.
    I have exclusive access to the DB and per some other suggestions I have checked the box to open in exclusive and uncheck the box  "Track name AutoCorrrect Info". I have also used compact and repair, which is also done on a regular basis.
    I have found that it is beginning to occur on other forms as well for no apparent reason.
    History:
    This was originally an Access 97 database that had been upgrade, all forms, reports, etc., had been imported into a new Access 2007 database. It has been running fine for the past month and we have been making design changes with no issues up to this point.
    The database is running on MS Server 2008r2 Terminal Services

    Hi Iasun:
    I have exactly the same problem that you had and have not been able to solve it. As you say, forms can be modified but no be saved; you can´t either change it´s name or delete it. Many forms in a large application  that I developed have
    the same problem and it seems that with time more forms are becoming "damaged"
    What I have done is to open the "damaged" form in design view and copied all controls to a new Form, leaving the old form unused. This is not a real solution but it´s the only way that I have found to change the original form.
    Your comment is more than a year old, have you already found a good solution?
    My application was originally developed in Access2007 and still running under it so it is not a problem related to 2010.

  • Converting a pre-Access 2000 database w/ user-level security to Access 2010

    Hi -
    An old database was passed down to me and I'm tasked with converting it so that we can use it with Access 2010. Sounds simple. However, I'm blocked in every attempt that I make to convert, export, and, in some cases, modify the database, due to not
    having the "appropriate permissions". We (my manager and I) do not know the original owner, and we do not have the original workgroup file. I've had our IT guy check to make sure I am the system admin on my machine in hopes of that making a
    difference - I was even able to create new workgroups and add and remove users to and from those groups but when I tried to convert (or save) the database, write some vba code behind the database, create and save new forms, or even update certain tables,
    I'm told to contact my system administrator or original owner of the object about giving me the "appropriate permissions" to do either of those things. I'm out of ideas here. I've even had a team of people contribute ideas as to how I can get around
    this. I cannot even convert this old database (which is in .mdb format, fyi) to an MDE. Is there any way that the user-level protection can be removed from this database? I'm hoping for an alternative other than to start over from scratch.

    Hi,
    As you said that the .accdb format does not support replication or user-level security, we need to use the MDB format in Access 2010. Please try to follow the steps to remove the user-level protection:
    1.Start Microsoft Access, and log on as a member of the Admins group.
    This can be the administrator account that you created when you secured the database, or it can be any member of the Admins group. Be sure that you’re using your own security-enhanced workgroup information file when starting Access.
    2.Open the database.
    3.On the Tools menu, point to Security, and then click User And Group Permissions.
    4.In the User And Group Permissions dialog box, assign full permissions to the Users group for the database and all the objects in the database.
    Because all users are automatically part of the Users group, this step has the effect of concealing security again.
    5.Click the Users tab, click Admin in the Name box, and then click Clear Password.
    Clearing the password for the Admin user disables the Logon dialog box that is displayed when you start Access. All users are automatically logged on as the Admin user the next time they start Access. This step disables the Logon dialog box for all databases
    that are using the same workgroup information file.
    6.Restart Access.
    7.Create a new database, and then import all objects from the security-enhanced database.
    You can accomplish this easily by using the Import command (File menu, Get External Data submenu).
    Quote From:
    http://office.microsoft.com/en-ca/office-2000-resource-kit/removing-user-level-security-HA001138118.aspx
    Regards,
    George Zhao
    TechNet Community Support

  • Access 2010 and CR XI

    I have a legacy Access ADP app originally developed in Access 2000, and has since been upgraded to Access 2002 and subsequently Access 2003. The app references CR XI RDC in order to print report. It has worked for years until we started running the ADP app in Access 2010 (32 bit). The ADP app crashes whenever I call RDC's PrintOut method. The code has not changed one bit - except it is running in Access 2010. We tried the app in different compatibility mode, on different operating systems (XP, Win7 and Win Server 2008) and the result is exactly the same - it crashes as soon as it calls PrintOut method.
    One peculiar aspect of it is that the crash occurs for reports that references tables directly whereas it works with reports created based on stored proc.
    I suspect it might have something to do with the different DLLs that deals with table based reports vs stored proc based report.
    Any suggestions or ideas here?

    Hello Calvin
    The last version of CR that incouded the RDC was 11.5 (XI R2). So, one idea would be to get to CR XI R2. See this blog on how to.
    Now, this still does not give you any guarantee that you will get the app to connect to Access 2010 as CR XI R2 would not be forward compatible... E.g.; according to the Supported Platforms documentation for CR XI R2, Access 2010 is not supported.
    If CR XI R2 SP6 does not solve the issue, your only option is to port the app to CR 2008, or CRVS2010 and use the CR SDK for VS .NET.
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Update outlook calendar from access 2010 database

    When I registrate an appointment in hour access 2010 database, I want to create an apointment in the outlook calendar. Is that possible? I tried to link to the outlook calendar from Access 2010, but the appointment date does not show, and therefore
    I can't use this method!
    My next question: Is it also possible to registrate an appointment in the outlook calendar and update the calendar in my access 2010 database.
    I hope somone can help me with my questions

    Hi,
    We can use VB script to do this, please refer to the following KB article:
    https://support.microsoft.com/kb/209963/en-us
    Also have a look at this article:
    http://gainingaccess.net/Articles/AccessToOutlookCalendar.aspx
    Since this issue is more related to coding, better to post your question to MSDN forum to get further assistance:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=outlookdev
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Regards,
    Steve Fan
    TechNet Community Support

  • Install Access 2010 Full and Runtime together on one machine?

    Hi,
    a client at my company has many access database projects. They run mostly fine with Access Runtime. We provide the Apps with a Server 2008 R2 via Terminal Services as RemoteApp. Is there a way to install the Full Access Version parallel to the Runtime? So
    if i publish a RemoteApp i just can choose between the two paths for Runtime or Full and provide the AccessApp either with one of both?
    AFAIK if i install the full Version of Access 2010, it overwrites the Runtime and uses the same paths as the Runtime used before (something like C:\Program Files (x86)\Microsoft Office\Office14\MSACCESS.exe)
    Thanks in advance for your hints,
    Rolf

    Hi,
    Yes, of course you could install the Access 2010 and Access Runtime 2010 in the same machine.As you know the Access Runtime 2010's detail imformation, you could choose to distribute those Access 2010 solutions so that they run without requiring
    a full installation.
    And the Access 2010 full version is also included in Office 2010, you could choose only install the Access 2010 and change the install path by using OCT.
    Regards,
    George Zhao
    TechNet Community Support

  • Access 2010 on 64 Bit Windows 7 Access "Not Responding" when changing from forms view to design view and back

    I am running
    Windows 7 64 bit
    Access 2010 32 bit
    Developing an application with a split FE BE with both files local but continue to have the message "Not Responding" when switching from forms view to design view and back as well as if I try to connect to a subform or object on the sub form.

    I have seen this behavior when the form's RecordSource is a complex query such as a crosstab or a query with several nested queries. To test if this is your case, remove the RecordSource and see if the form starts acting normal again.
    Then again, if the form has several subforms they might be slowing up the loading time.
    Bill Mosca
    www.thatlldoit.com
    http://tech.groups.yahoo.com/group/MS_Access_Professionals

  • How to access objects in the Child Form from Parent form.

    I have a requirement in which I have to first open a Child Form from a Parent Form. Then I want to access objects in the Child Form from Parent form. For example, I want to insert a record into a block present in Child Form by executing statements from a trigger present in Parent Form.
    I cannot use object groups since I cannot write code into Child Form to first create object groups into Child Form.
    I have tried to achieved it using the following (working of my testcase) :
    1) Created two new Forms TESTFORM1.fmb (parent) and TESTFORM2.fmb (child).
    2) Created a block named BLK1 manually in TESTFORM1.
    3) Created two items in BLK1:
    1.PJC1 which is a text item.
    2.OPEN which is a push button.
    4) Created a new block using data block wizard for a table EMPLOYEE_S1. Created items corresponding to all columns present in EMPLOYEE_S1 table.
    5) In WHEN-NEW-FORM-INSTANCE trigger of TESTFORM1 set the first navigation block to BLK1. In BLK1 first navigable item is PJC1.
    6) In WHEN-NEW-ITEM-INSTANCE of PJC1, code has been written to automatically execute the WHEN-BUTTON-PRESSED trigger for the "Open" button.
    7) In WHEN-BUTTON-PRESSED trigger of OPEN item, TESTFORM2 is opened using the following statement :
    open_form(‘TESTFORM2',no_activate,no_session,SHARE_LIBRARY_DATA);
    Since its NO_ACTIVATE, the code flows without giving handle to TESTFORM2.
    8) After invoking OPEN_FORM, a GO_FORM(‘TESTFORM2’) is now called to set the focus to TESTFORM2
    PROBLEM AT HAND
    ===============
    After Step 8, I notice that it passes the focus to TESTFORM2, and statements after go_form (in Parent Form trigger) doesnot executes.
    I need go_form with no_activate, similar to open_form.
    Edited by: harishgupt on Oct 12, 2008 11:32 PM

    isn't it easier to find a solution without a second form? If you have a second window, then you can navigate and code whatever you want.
    If you must use a second form, then you can handle this with WHEN-WINDOW-ACTIVATED and meta-data, which you have to store in global variables... ( I can give you hints if the one-form-solution is no option for you )

  • Access 2010 filter by form problem

    I have an Access program with the forms recordset populated by a ado recordset with data from a SQL Sever stored procedure.
    Fiter by forms works nicely under Access 2003.
    I migrated to Office 2010 and converted my Access program to the 2007 format, recompiled the whole and started to run with Access 2010.
    And now I cannot filter by forms anymore.
    I can use the new shortcut menu but it never actually filters my data at all on the form.
    On the internet I found someone who found out that replacing a dll with the one from Office 2007 does fix this.
    And it actually does but surely this cannot be the final solution.
    Any one experienced the same behaviour and found a solution.

    Hi,
    First, I want you to confirm whether the steps of converting Access 2003 to Access 2010 is right:
    On the
    File tab, click Open.
    In the
    Open dialog box, select and open the Access 2000 or Access 2002 - 2003 database (.mdb) that you want to convert.
    On the
    File tab, click Save & Publish, and then, under
    Database File Types click Access Database (*.accdb).
    Click
    Save As.
    If any database objects are open when you click
    Save As, Access prompts you to close them prior to creating the copy. Click
    Yes to make Access close the objects, or click No to cancel the entire process. If needed, Access will also prompt you to save any changes.
    In the
    Save As dialog box, type a file name in the File name box, and then click
    Save.
    Access creates the copy of the database, and then opens the copy. Access automatically closes the original database.
    Quote from:
    http://office.microsoft.com/en-us/access-help/convert-a-database-to-the-accdb-file-format-HA010341552.aspx
    Secondly, try to reapply the filter in the Access 2010 to check the issue. Please refer to the “Filter by form” part of the following link to see
    the steps:
    http://office.microsoft.com/en-us/access-help/apply-a-filter-to-view-select-records-in-an-access-database-HA010341691.aspx#formfilter
    Jaynet Zhang
    TechNet Community Support

  • Access 2010: ListBox (Forms 2.0) not working after Windows Update

    After one of the updates attached was installed the following VBA-Code line causes an error on Windows 7 using Access 2010:
    Me.lbCountries.AddItem rst("Country")
    lbCountries is a  ListBox (Forms 2.0) using
    class: Forms.ListBox.1
    OLE: Microsoft Forms 2.0
    MultiSelect: Multi
    ListStyle: Option
    The code is still working using Win8 (x64) and Access 2013. On Win7 (x32) and Access 2010 the following error is displayed:
    „Object doesn't support this property or method“
    (Error Code 438)
    After manual deinstallation of the mentioned updates the VBA-code executes as expected. ListBox seems to be unusable after one of the updates. All other workarounds trying to fill the ListBox cause the same error.
    Fast Help is very appreciated.

    Hi,
    Would you please to tell us which KB caused this issue? As far as I know, after installing
    MS14-082 (part of December 2014 Public Updates for Office) you might get the error run-time
    error '438': Object doesn't support this property or method, when clicking on the enable content button.
    If you have installed MS14-082, please try to install the hotfixs that released in the March 2015:
    http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2014/12/13/forms-controls-stop-working-after-december-2014-updates-.aspx
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How do your sort input numbers horizontally in the same field "6-4-25-23-11-45" ms access 2010

    Hi,
    Is there a function to sort numbers horizontally in ms access 2010.
    Regards,
    Rudolf
    rudolfelizabeth

    Copy the following code into a module in the Visual Basic Editor:
    Function SortValues(varText As Variant, strSep As String) As Variant
    Dim arr() As String
    If IsNull(varText) Then
    SortValues = Null
    Else
    arr = Split(varText, strSep)
    SortArray arr
    SortValues = Join(arr, strSep)
    End If
    End Function
    Sub SortArray(arr() As String)
    Dim i As Long
    Dim j As Long
    Dim lngTemp As Long
    For i = LBound(arr) To UBound(arr) - 1
    For j = i + 1 To UBound(arr)
    If CLng(arr(i)) > CLng(arr(j)) Then
    lngTemp = arr(i)
    arr(i) = arr(j)
    arr(j) = lngTemp
    End If
    Next j
    Next i
    End Sub
    Let's say your field is named MyField. In a query, you can create a calculated column:
    MySortedField: SortValues([MyField],"-")
    Or you can set the Control Source of a text box on a form or report to
    =SortValues([MyField],"-")
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Navigation Pane Spacing with Access 2010 in Windows 8.1

    I am currently using Access 2010 in Windows 8.1 and have huge vertical spacing in the Access 2010 navigation pane.  In looking through other issues of this type, others have been able to fix it by going into the quick access toolbar and switching from
    touch mode to mouse mode.
    However, in Access 2010 there is no quick toolbar option for touch mode.  As it is, I can only see about 10 navigation pane items when I used to be able to see 20 or 30.  I run fairly complex databases and this is a major slowdown.
    Any ideas that do NOT involve updating to Access 2013?  All my other Office 2010 apps seem to be working fine - just Access has the issue.

    Hi,
    Please see this article to verify the account:
    http://social.technet.microsoft.com/wiki/contents/articles/15960.how-to-verify-your-msdntechnet-forums-account-so-that-you-can-post-images-and-links.aspx
    Or you may send them via Email ([email protected])
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Prevent multiple users accessing the same form

    hi,
    i am working in forms
    i have a requirement like this
    if more than one user are using the same form and try to access the same record then the second user should not be able to do transaction
    he should be popped up with a msg saying that other user is working on it
    can any one suggest how to do this in my form
    thanks in advance
    selvaraj s

    That is pretty much exactly the way Forms works automatically.
    Two users can use the same form, and can even display the same data record. One of the users can make changes to the record -- Forms locks the row upon the FIRST keystroke in the first field the user begins to change.
    Once the row is locked, the second user is free to look at the record, and won't even know if another user has begun making changes. However, if second user tries to change even one field in the record, Forms pops up the message, "Could not reserve record (2 tries). Keep trying? Yes / No"
    There are also protections so if the first user actually changes the row and commits, then the second user tries to make a change. Forms will automatically detect whether changes were made, and if so, will undo the change and issue the message, "FRM-40654: Record has been updated by another user. Re-query to see change."
    The above automatic processing works very nicely. If it will not work for you, then what is it you need?

Maybe you are looking for