Results 1 to 5 of 5
  1. #1
    BamaBlast is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    6

    Copying a field from a query to a different form and field...

    I have a Form that has a subform and in that there is a subform that runs a query. I need to take the value of in one of the fields returned in that query and transfer it to a field in my original subform. It sounded simple enough but has become a real issue to make it happen.

    Suggestions and solutions welcomed....Thanks!

  2. #2
    BamaBlast is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    6

    Still chipping away

    Quote Originally Posted by BamaBlast View Post
    I have a Form that has a subform and in that there is a subform that runs a query. I need to take the value of in one of the fields returned in that query and transfer it to a field in my original subform. It sounded simple enough but has become a real issue to make it happen.

    Suggestions and solutions welcomed....Thanks!

    Well I figured out how to update the field ( Forms![tbl_week view 2]![frm_qry_Hangar Day crews Sr w Ds subform]![D1] = Me.[Time Code].Value) but now I have the common problem of only updating the first record. How do I update the recordset? Newbie at work here...

  3. #3
    BamaBlast is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    6
    Is their anyone on this forum that would be willing to take a look at a Database I have started and help me along when I get stuck? I am currently stuck on a issue that is an absolute requirement? Once I get past this issue the database (at least in my mind) seems to be pretty straight forward even for a novice like myself. Any help or advice is greatly appreciated!

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    7,862
    Forms are good for Users to input data. They are an interface for to the tables. When you programmatically input or update data within the database, it is a good idea to think of it as appending or updating tables. You, the developer, are not limited to using forms.

    You need to identify the tables that need to be updated or appended and find a solution that does this. One approach would be an action query another would be DAO.

  5. #5
    BamaBlast is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    6
    Thank you very much for that advice. I had never even contemplated updating the tables. Also I keep running across DAO I guess I need to do some research on it.

    Thanks again I'll keep working on it. I'm starting think I may need to start over and try a different structure. Thx.

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

Similar Threads

  1. Replies: 6
    Last Post: 04-26-2013, 10:07 AM
  2. Help copying field values within a form
    By cshort64 in forum Programming
    Replies: 3
    Last Post: 11-11-2011, 01:07 PM
  3. Replies: 6
    Last Post: 03-22-2011, 08:22 PM
  4. Replies: 0
    Last Post: 07-16-2010, 09:06 AM
  5. Copying only part of data from a text field
    By davedejonge in forum Queries
    Replies: 1
    Last Post: 02-03-2010, 05:18 PM

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