dbTalk Databases Forums  

Click on row (record) in subform to open that record?

comp.database.ms-access comp.database.ms-access


Discuss Click on row (record) in subform to open that record? in the comp.database.ms-access forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Orv
 
Posts: n/a

Default Click on row (record) in subform to open that record? - 08-25-2007 , 07:58 AM






I have a search form which contains a non-linked subform. When I fill the
criteria of my search and click the search button it returns the results in
the subform, datasheet view.

I then want to select/click on the row (record) on the datasheet and have
that record pop-up.

Any ideas?

TIA,
-Orv



Reply With Quote
  #2  
Old   
Rick Brandt
 
Posts: n/a

Default Re: Click on row (record) in subform to open that record? - 08-25-2007 , 08:08 AM






"Orv" <pcbidderathotmail.com> wrote

Quote:
I have a search form which contains a non-linked subform. When I fill the
criteria of my search and click the search button it returns the results in the
subform, datasheet view.

I then want to select/click on the row (record) on the datasheet and have
that record pop-up.

Any ideas?
Not so easy with a datasheet view. If you used a continuous view set up to look
like a datasheet then it is easy. You can create a command button that covers
the entire row of controls and set it to transparent. The command button wizard
will create a button for you that does the rest of what you are asking for.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com




Reply With Quote
  #3  
Old   
Orv
 
Posts: n/a

Default Re: Click on row (record) in subform to open that record? - 08-25-2007 , 09:25 AM



"Rick Brandt" <rickbrandt2 (AT) hotmail (DOT) com> wrote

Quote:
"Orv" <pcbidderathotmail.com> wrote in message
news8adnbS1JJDkhE3bnZ2dnUVZ_j2dnZ2d (AT) comcast (DOT) com...
I have a search form which contains a non-linked subform. When I fill the
criteria of my search and click the search button it returns the results
in the subform, datasheet view.

I then want to select/click on the row (record) on the datasheet and
have that record pop-up.

Any ideas?

Not so easy with a datasheet view. If you used a continuous view set up
to look like a datasheet then it is easy. You can create a command button
that covers the entire row of controls and set it to transparent. The
command button wizard will create a button for you that does the rest of
what you are asking for.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Thanks...this works great.

How do I show the field/column headers of the subform? I have them in the
header however they do not show up.




Reply With Quote
  #4  
Old   
Rick Brandt
 
Posts: n/a

Default Re: Click on row (record) in subform to open that record? - 08-25-2007 , 10:58 PM



"Orv" <pcbidderathotmail.com> wrote

Quote:
How do I show the field/column headers of the subform? I have them in the
header however they do not show up.
Did you use the PageHeader or the FormHeader? The former is only for printing.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com




Reply With Quote
  #5  
Old   
Orv
 
Posts: n/a

Default Re: Click on row (record) in subform to open that record? - 08-26-2007 , 03:17 PM



With a little trial and error I got it. Thanks for all the help.



"Rick Brandt" <rickbrandt2 (AT) hotmail (DOT) com> wrote

Quote:
"Orv" <pcbidderathotmail.com> wrote in message
news:6aqdnbCKNJEvsE3bnZ2dnUVZ_g2dnZ2d (AT) comcast (DOT) com...
How do I show the field/column headers of the subform? I have them in the
header however they do not show up.

Did you use the PageHeader or the FormHeader? The former is only for
printing.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.