A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

doubleclicking record in subform opening new form



 
 
Thread Tools Display Modes
  #1  
Old August 30th, 2004, 08:05 PM
CS
external usenet poster
 
Posts: n/a
Default doubleclicking record in subform opening new form

Hello.

I've got an Access 2000 database based heavily on the Contacts database
template provided with Access. What I would like to be able to do is list
the contents of the contacts table (sorted by last name) in a form, then
when clicking on the record I want to edit, opening the input form with the
data for that record loaded. I'm sure there is a way to do this, I just
can't seem to figure out how.

Hopefully this makes sense.

Thanks to all for your input.

CS


  #2  
Old August 30th, 2004, 10:25 PM
boardrider
external usenet poster
 
Posts: n/a
Default

On Click Event or on Double Click Event of the form, type the following line
DoCmd.OpenForm "formName", acNormal, [filterName], [wherecondition]

br

"CS" wrote:

Hello.

I've got an Access 2000 database based heavily on the Contacts database
template provided with Access. What I would like to be able to do is list
the contents of the contacts table (sorted by last name) in a form, then
when clicking on the record I want to edit, opening the input form with the
data for that record loaded. I'm sure there is a way to do this, I just
can't seem to figure out how.

Hopefully this makes sense.

Thanks to all for your input.

CS



 




Thread Tools
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need subform record to = main form record Narwe General Discussion 1 August 15th, 2004 07:01 AM
Open form, Edit button, etc Aniko Using Forms 14 July 25th, 2004 08:17 AM
auto entry into second table after update Tony New Users 13 July 9th, 2004 10:42 PM
Filter Problems on Main form & Subform Jeff Using Forms 2 July 7th, 2004 03:13 PM
Opening a Form From 'nuter Form S Jackson New Users 9 July 3rd, 2004 12:49 AM


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.