473,471 Members | 2,040 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Selecting a record and calling up a separate form

I would like to know if the following is possible:

I have a form and a subform. In the subform, there are records
summarized. (For ex, instead of showing all 19 fields, I only show 3 to
save space.)

I would like the user to be able to select a record in the subform
datasheet, and click a button, or double click, to bring up the ENTIRE
record. (I would have a separate form created for this).

So basically, I want to show a truncated record in the subform. When
the user double clicks or clicks the command button, I want my form to
appear that shows the entire record.

Possible?

Thanks a LOT

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #1
2 3950
That specific functionality is included in the imaging sample databases at
http://accdevel.tripod.com (though it is not the purpose of those samples)
and the continuous forms view form is not in a subform control.

Larry Linson
Microsoft Access MVP

"Phil Matish" <ph****@wesselconsulting.com> wrote in message
news:3f***********************@news.frii.net...
I would like to know if the following is possible:

I have a form and a subform. In the subform, there are records
summarized. (For ex, instead of showing all 19 fields, I only show 3 to
save space.)

I would like the user to be able to select a record in the subform
datasheet, and click a button, or double click, to bring up the ENTIRE
record. (I would have a separate form created for this).

So basically, I want to show a truncated record in the subform. When
the user double clicks or clicks the command button, I want my form to
appear that shows the entire record.

Possible?

Thanks a LOT

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 12 '05 #2
Phil Matish <ph****@wesselconsulting.com> wrote in
news:3f***********************@news.frii.net:
I would like to know if the following is possible:

I have a form and a subform. In the subform, there are
records summarized. (For ex, instead of showing all 19
fields, I only show 3 to save space.)

I would like the user to be able to select a record in the
subform datasheet, and click a button, or double click, to
bring up the ENTIRE record. (I would have a separate form
created for this).

So basically, I want to show a truncated record in the
subform. When the user double clicks or clicks the command
button, I want my form to appear that shows the entire record.

Possible?
Yes, but you cannot put a command button in a datsheet view. Open
the subform in design view, and format the record to look as much
as a datasheet as you want. Then set its .view_as property to
continuous forms. Create the command button using the Wizard, to
open your separate form. Use the "Open form and go to specific
record" option.

If you really insist on datasheet view, you must copy the code
created above to the doubleclick event for each field in the form.
That's a PITA to maintain, and doesnt work for checkbox fields, for
some reason I have yet to discover. Besides it's not as intuitive
as the command button for an inexperienced user.

Bob Q

Thanks a LOT

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: webhigh | last post by:
I¹m not sure if this a PHP question or an MySQL question but here it goes. I have a repeat region of a table called userid What I¹m trying to accomplish is being able to edit the record and...
4
by: Doslil | last post by:
I have a form which has a subform.In the main form I have only one field (this is a drop down list and has a query attached to it) which selects empno,Name from the EmployeeInformation table. ...
17
by: Danny J. Lesandrini | last post by:
The following code works with a standard MDB to navigate to a particluar record (with a DAO recordset, of course) but it's giving me problems in an ADP I'm working on. Dim rs As ADODB.Recordset...
4
by: Sami | last post by:
I hope someone will tell me how to do this without having to do any VB as I know nothing in that area. I am a rank beginner in using Access. I have created a database consisting of student...
5
by: Ross A. Finlayson | last post by:
Hi, I'm scratching together an Access database. The development box is Office 95, the deployment box Office 2003. So anyways I am griping about forms and global variables. Say for example...
9
by: Joshua.Buss | last post by:
I am trying to move a record from one linked table to another within access, but I'm a complete beginner to VBA and don't know exactly where to begin. I have an access file that has the two...
7
by: john | last post by:
In my form I have a master table and a details table linked 1xM. I can search through the whole parent table but I also like to be able to search through the child table fields to find parent...
4
by: QntmPg | last post by:
Hi all, I have read through what I could find on previous questions regarding using the OpenArgs property, but I'm still not able to get my form to open correctly. I'm not sure exactly where the...
4
by: limperger | last post by:
Hello everyone! Just in case anyone here has experienced this problem and knows how to deal with it: I have 2 forms from 2 related tables. We have more than 600 records in the first one and of...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.