Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
"Method of data member not found" (Access 2010)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
PW  
View profile  
 More options Feb 8, 12:52 pm
Newsgroups: comp.databases.ms-access
From: PW <emailaddyin...@ifIremember.com>
Date: Wed, 08 Feb 2012 10:52:21 -0700
Local: Wed, Feb 8 2012 12:52 pm
Subject: "Method of data member not found" (Access 2010)
Here is a block of code I wrote in Access2003 and converted to
Access2010 and it works great:

    DoCmd.OpenForm "frmGuestStorePurchases_pw"
    Forms![frmGuestStorePurchases_pw]![cboReservation_pw] =
Forms![frmReservationEntry]![ReservationID]
    Form_frmGuestStorePurchases_pw.cboReservation_pw_AfterUpdate

I added a new combo box on a form and copied/pasted/edited the code
above to look like this:

    DoCmd.OpenForm "frmEmployeePurchases_pw"
    Forms![frmEmployeePurchases_pw]![cboEmployee_pw] =
Forms![frmEmployees]![EmployeeID]
    Form_frmEmployeePurchases_pw.cboEmployee_pw_AfterUpdate

But, when I compile this code I receive the error "Method of data
member not found".  Why?

-kristinw


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Patrick Finucane  
View profile  
 More options Feb 8, 4:55 pm
Newsgroups: comp.databases.ms-access
From: Patrick Finucane <patrickfinucan...@gmail.com>
Date: Wed, 8 Feb 2012 13:55:27 -0800 (PST)
Local: Wed, Feb 8 2012 4:55 pm
Subject: Re: "Method of data member not found" (Access 2010)
On Feb 8, 11:52 am, PW <emailaddyin...@ifIremember.com> wrote:

When you step thru your code which line bombs out?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
PW  
View profile  
 More options Feb 8, 5:36 pm
Newsgroups: comp.databases.ms-access
From: PW <emailaddyin...@ifIremember.com>
Date: Wed, 08 Feb 2012 15:36:20 -0700
Local: Wed, Feb 8 2012 5:36 pm
Subject: Re: "Method of data member not found" (Access 2010)
On Wed, 8 Feb 2012 13:55:27 -0800 (PST), Patrick Finucane

This one:    Form_frmEmployeePurchases_pw.cboEmployee_pw_AfterUpdate

-paulw


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
agiamb  
View profile  
 More options Feb 9, 10:02 am
Newsgroups: comp.databases.ms-access
From: "agiamb" <NOSPAMagi...@newsgroup.nospam>
Date: Thu, 9 Feb 2012 10:02:28 -0500
Local: Thurs, Feb 9 2012 10:02 am
Subject: Re: "Method of data member not found" (Access 2010)
Shouldn't that be
Forms!frmEmployeePurchases_pw.cboEmployee_pw_AfterUpdate?
And make sure that cboEmployee_pw_AfterUpdate is declared public.

--

AG
Email: npATadhdataDOTcom

"PW" <emailaddyin...@ifIremember.com> wrote in message

news:s5u5j7t1l3oev109jo2bjkifvg241e3rp5@4ax.com...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
PW  
View profile  
 More options Feb 9, 12:36 pm
Newsgroups: comp.databases.ms-access
From: PW <emailaddyin...@ifIremember.com>
Date: Thu, 09 Feb 2012 10:36:46 -0700
Local: Thurs, Feb 9 2012 12:36 pm
Subject: Re: "Method of data member not found" (Access 2010)
On Thu, 9 Feb 2012 10:02:28 -0500, "agiamb"

<NOSPAMagi...@newsgroup.nospam> wrote:
>Shouldn't that be
>Forms!frmEmployeePurchases_pw.cboEmployee_pw_AfterUpdate?
>And make sure that cboEmployee_pw_AfterUpdate is declared public.

My wife says that did it!  Good job!  Thanks.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »