PC Review


Reply
Thread Tools Rate Thread

Code of searchforrecord 2007

 
 
Nate
Guest
Posts: n/a
 
      1st Feb 2008
I am having trouble with the code for the following task
Table: Master List
Form: Home
Form: Details

I am trying to get a button on 'Home' that will search a field in 'Master
List' called ID for a value that I input in a text box on 'Home' and return
that record in the form 'Details' for editting.

Please HELP
 
Reply With Quote
 
 
 
 
Klatuu
Guest
Posts: n/a
 
      1st Feb 2008
Is Details a subform of Home?
If not, is Details already open or does it open from the button?
Is Master List the row source for the Details form?

If you can answer these questions, I can show you how it is done.
--
Dave Hargis, Microsoft Access MVP


"Nate" wrote:

> I am having trouble with the code for the following task
> Table: Master List
> Form: Home
> Form: Details
>
> I am trying to get a button on 'Home' that will search a field in 'Master
> List' called ID for a value that I input in a text box on 'Home' and return
> that record in the form 'Details' for editting.
>
> Please HELP

 
Reply With Quote
 
 
 
 
Nate
Guest
Posts: n/a
 
      1st Feb 2008
Thanks a ton......

Details is a seperate form from Home. Details is not already open and
Master list is the row source for Details.

Thanks again,


"Klatuu" wrote:

> Is Details a subform of Home?
> If not, is Details already open or does it open from the button?
> Is Master List the row source for the Details form?
>
> If you can answer these questions, I can show you how it is done.
> --
> Dave Hargis, Microsoft Access MVP
>
>
> "Nate" wrote:
>
> > I am having trouble with the code for the following task
> > Table: Master List
> > Form: Home
> > Form: Details
> >
> > I am trying to get a button on 'Home' that will search a field in 'Master
> > List' called ID for a value that I input in a text box on 'Home' and return
> > that record in the form 'Details' for editting.
> >
> > Please HELP

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Searchforrecord does not appear to work Spencer Microsoft Access Macros 4 4th Feb 2010 05:13 AM
DoCmd.SearchForRecord Chuck Microsoft Access VBA Modules 3 27th Dec 2009 05:42 PM
docmd.searchforrecord Mark Andrews Microsoft Access 4 30th Jun 2009 06:32 PM
searchforrecord macro pulling wrong record Hatchet Microsoft Access Macros 5 21st Jun 2009 01:19 AM
Reference subform with SearchForRecord macro action RL Microsoft Access Form Coding 5 6th Feb 2009 04:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:36 PM.