PC Review


Reply
Thread Tools Rate Thread

Click on a record in a subform datasheet to open another form displaying info related to that record???

 
 
edself
Guest
Posts: n/a
 
      23rd Nov 2003
I have a form which displays a subform datasheet of information. I'd like
to be able to quickly click on a particular record and open up another form
showing more detailed information about that record from a related table.

Is there a way to do this? It would be nice to be able to right click on a
cell in a datasheet and then select menu choice to open a form with related
information, but it seems like to right click menues in Access are hardwired
for Access application functionality.

Is there some other way to accomplish the same thing? Again, I just want to
be able to quickly click on a record/cell in a datasheet and open another
form to view expanded information related to that record from a different
table/query.

Thanks in advance for your help!


 
Reply With Quote
 
 
 
 
Mike Painter
Guest
Posts: n/a
 
      23rd Nov 2003

"edself" <(E-Mail Removed)> wrote in message
news:KpXvb.282545$Fm2.292260@attbi_s04...
> I have a form which displays a subform datasheet of information. I'd like
> to be able to quickly click on a particular record and open up another

form
> showing more detailed information about that record from a related table.
>
> Is there a way to do this? It would be nice to be able to right click on

a
> cell in a datasheet and then select menu choice to open a form with

related
> information, but it seems like to right click menues in Access are

hardwired
> for Access application functionality.
>
> Is there some other way to accomplish the same thing? Again, I just want

to
> be able to quickly click on a record/cell in a datasheet and open another
> form to view expanded information related to that record from a different
> table/query.
>
> Thanks in advance for your help!


You can use the OnClick event for this but I usually use the doubleClick
event.
Just place the command in each column you want them to open from.
If there is room on the form you might also want to look at another subform
on the main form that is controlled by the first form.
Most people prefer this either because they use it a *lot* or use it so
rarely they forget about the double click.


 
Reply With Quote
 
 
 
 
edself
Guest
Posts: n/a
 
      24th Nov 2003
Which OnClick event do I use? This is a subform datasheet. Will it be the
OnClick event for the underlying combo box that represents a column in the
datasheet? Are you saying that if I click on a cell in a subform datasheet,
that the onclick event for the underlying combo box will be triggered? If
that is true, then how would I determine which record (row) was clicked? I
will need to know this so I know which record to query for the new form to
be opened.

"Mike Painter" <(E-Mail Removed)> wrote in message
news:iRYvb.100545$(E-Mail Removed)...
>
> "edself" <(E-Mail Removed)> wrote in message
> news:KpXvb.282545$Fm2.292260@attbi_s04...
> > I have a form which displays a subform datasheet of information. I'd

like
> > to be able to quickly click on a particular record and open up another

> form
> > showing more detailed information about that record from a related

table.
> >
> > Is there a way to do this? It would be nice to be able to right click

on
> a
> > cell in a datasheet and then select menu choice to open a form with

> related
> > information, but it seems like to right click menues in Access are

> hardwired
> > for Access application functionality.
> >
> > Is there some other way to accomplish the same thing? Again, I just

want
> to
> > be able to quickly click on a record/cell in a datasheet and open

another
> > form to view expanded information related to that record from a

different
> > table/query.
> >
> > Thanks in advance for your help!

>
> You can use the OnClick event for this but I usually use the doubleClick
> event.
> Just place the command in each column you want them to open from.
> If there is room on the form you might also want to look at another

subform
> on the main form that is controlled by the first form.
> Most people prefer this either because they use it a *lot* or use it so
> rarely they forget about the double click.
>
>



 
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
Displaying information in one form related to info in another form Mark909 Microsoft Access 2 17th Mar 2009 07:13 PM
click row on subform, then click button to open form to rcd in subform charlie via AccessMonster.com Microsoft Access Forms 1 8th Aug 2006 07:37 PM
how to click a subform (datasheet view) to open another subform =?Utf-8?B?SmVmZg==?= Microsoft Access Forms 1 6th Apr 2005 12:03 PM
code to delete a record in one subform when a record in a related subform is deleted Helen Microsoft Access Form Coding 3 3rd Apr 2005 10:01 PM
Click on record in a subform datasheet to open another form displaying info related to that record??? edself Microsoft Access Forms 1 24th Nov 2003 08:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:46 AM.