Results 1 to 2 of 2
  1. #1
    declanfogarty is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    Belfast
    Posts
    2

    copy data from a subform to the main form

    I recently update my access to 2010 because MS were giving the licence out cheap but it has wrecked my old macros in my old version patient database
    I have a main patient table and main form


    I used to use button to open a search query do display proceedure codes
    I used to select the correct proceedure and my macro
    would paste the proceedure and codes into that patient record

    I get "microsoft access cannot find the object 'updatevaluescode' "
    I have a button on the procedure page which will select one or more values and using the old setvalue action
    transfer that data back to the main patient page

    I have tried to explain in on the attached picture
    I used a simple parameter query to filter the proceedure
    ie T2000 as a parameter would find all the codes a a long table matching and display them

    Im looking for help thanks
    Declan

  2. #2
    Rod is offline Expert
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Location
    Metro Manila, Philippines
    Posts
    679
    Declan,

    You've gone to a lot of trouble describing your problem to no avail.

    Take a step back for a moment. Access cannot find an object (unfortunately Access is not telling us what type of object) called, 'updatevaluescode.' That name is not one I recognise as an Access object and does not conform to Microsoft's naming standards, so in all probability the object is user-defined. The name, having the element 'code,' suggests a VBA module or perhaps a misnamed macro. Start looking for that.

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

Similar Threads

  1. Subform in a Tab Control on a Main form
    By jpkeller55 in forum Access
    Replies: 4
    Last Post: 01-08-2011, 12:31 PM
  2. Replies: 1
    Last Post: 11-13-2010, 12:57 PM
  3. opening a second form from main/subform
    By PJPCVP in forum Database Design
    Replies: 1
    Last Post: 10-29-2010, 09:50 PM
  4. Subform won't display in main form
    By Lynn in forum Forms
    Replies: 15
    Last Post: 03-22-2010, 10:17 AM
  5. copy info in subform as well as main form
    By Coolpapabell in forum Forms
    Replies: 0
    Last Post: 09-30-2009, 10:02 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