Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 34
  1. #16
    GinaWhipp's Avatar
    GinaWhipp is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    Ohio, USA
    Posts
    377

    Okay, see attached...

  2. #17
    desibabu90 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2011
    Posts
    39
    Quote Originally Posted by GinaWhipp View Post
    Okay, see attached...

    I checked it and it didn't do anything different for me. ..see pic

    Also should you add a Requery for Transmission or for Total in the subform?

    It also gave me an error when I went to edit the Transmission Value and it required that add [Table1] before [subform1] in the Requery.

  3. #18
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Can't open 2007 files at this current location. Sorry if you upload a 2003 version (just save your database as an older version) I can look

  4. #19
    GinaWhipp's Avatar
    GinaWhipp is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    Ohio, USA
    Posts
    377
    I didn't open the forms labeled table just the subforms... Let me fix that...

  5. #20
    GinaWhipp's Avatar
    GinaWhipp is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    Ohio, USA
    Posts
    377
    Here you go...

  6. #21
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Still in access 2007 format and not 2003, sorry, still can't view it.

  7. #22
    GinaWhipp's Avatar
    GinaWhipp is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    Ohio, USA
    Posts
    377
    @rpeare

    Sorry, I was uploading a new sample for the OP not for you. Here's one for you...

  8. #23
    desibabu90 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2011
    Posts
    39
    first of all, I want to thank you guys for the help.

    I see that under subform1 the value shows up, but in main form of Table1, it is still showing as #Name.

    Do you know why that is happening?

  9. #24
    GinaWhipp's Avatar
    GinaWhipp is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    Ohio, USA
    Posts
    377
    Are you opening the form named Table1 without opening the form named Table2? If yes, I'll have to use VBA to fix that.

  10. #25
    desibabu90 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2011
    Posts
    39
    Well, I will be opening Table 1, then Table 2, and then go back to Table 1.

  11. #26
    GinaWhipp's Avatar
    GinaWhipp is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    Ohio, USA
    Posts
    377
    Yep, let me fix that, here you go...

  12. #27
    desibabu90 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2011
    Posts
    39
    Okay thanks. I will look at this tomorrow, as I am not at work. I will let u know what happens.

    Thanks for ur help once again!

  13. #28
    GinaWhipp's Avatar
    GinaWhipp is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    Ohio, USA
    Posts
    377
    No problem... I'll be here!

  14. #29
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    The only thing I changed in your database was the requery statement. I haveL

    Forms!table1.subform1!installcost.Requery

    You have

    [Forms]![table1]![subform1].[Form]![FinalTotal].Requery

    But they both function as far as I can tell if you have both forms open at the same time.

    If you do not want to have both forms open at the same time this is when you'd have to do a dsum or dlookup (or code using database/recordset type arrangment)

    I would like to ask though, why are you putting the information from the same table on two different subforms on two different main forms?

    Wouldn't it be easier to do the lookup for a specific vehicle then be able to modify any of the fields you're entering on a single form? On a single subform you could break it up visually into your install costs and final costs. At any rate I can't find anything wrong with your database as long as you have both forms open at the same time.

    You just have to apply the requery code to each field on form2 so that after an update on any of the fields it will refresh the value in your second form.

    I'm going to re-upload your database with an example of putting it all on one form because I don't understand why you would have separate data entry forms in this case. One other thing to consider is that you don't even really need to separate your data into two forms if you will not have more than one set of repairs on the same vehicle. If it is going to be possible to have more than one set of repairs on a single vehicle you will probably need to use an identifier that is NOT just an autonumber field (use the VIN for example)

  15. #30
    desibabu90 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Jun 2011
    Posts
    39
    Quote Originally Posted by rpeare View Post
    The only thing I changed in your database was the requery statement. I haveL

    Forms!table1.subform1!installcost.Requery

    You have

    [Forms]![table1]![subform1].[Form]![FinalTotal].Requery

    But they both function as far as I can tell if you have both forms open at the same time.

    If you do not want to have both forms open at the same time this is when you'd have to do a dsum or dlookup (or code using database/recordset type arrangment)

    I would like to ask though, why are you putting the information from the same table on two different subforms on two different main forms?

    Wouldn't it be easier to do the lookup for a specific vehicle then be able to modify any of the fields you're entering on a single form? On a single subform you could break it up visually into your install costs and final costs. At any rate I can't find anything wrong with your database as long as you have both forms open at the same time.

    You just have to apply the requery code to each field on form2 so that after an update on any of the fields it will refresh the value in your second form.

    I'm going to re-upload your database with an example of putting it all on one form because I don't understand why you would have separate data entry forms in this case. One other thing to consider is that you don't even really need to separate your data into two forms if you will not have more than one set of repairs on the same vehicle. If it is going to be possible to have more than one set of repairs on a single vehicle you will probably need to use an identifier that is NOT just an autonumber field (use the VIN for example)
    hey the database i sent you was a "dumbed down" version of the actual database. I have a lot more fields on both the forms that take up space. once completed these forms will need to be printed so i am also constrained on the size of the paper...i will still look into this matter but that could be done after I finish the project to make it better or something like that...

Page 2 of 3 FirstFirst 123 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Help with Forms and Subforms
    By xstaceyid in forum Forms
    Replies: 1
    Last Post: 04-21-2011, 02:14 PM
  2. Replies: 2
    Last Post: 03-14-2011, 07:56 PM
  3. Problem linking subforms, filtering and uploading
    By sameerk0286 in forum Access
    Replies: 1
    Last Post: 12-09-2010, 09:18 AM
  4. problem with PK and Relatioships in subforms
    By Nokia N93 in forum Access
    Replies: 3
    Last Post: 11-26-2010, 04:00 PM
  5. Forms design problem
    By GeorgeD in forum Forms
    Replies: 2
    Last Post: 05-08-2008, 12:28 AM

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