473,395 Members | 1,937 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to bind table record to form view?

Hello,

Beginning access user here.
I am displaying the table and its existing form at the same time.
I would like to double-click on a row in the table and have the form go
to/display the selected record.

tia,
nikos

Mar 8 '07 #1
3 10919
Tables are just buckets to hold records.
They don't have the power to do what you want.

Yon can synchronize two forms, as described here:
http://support.microsoft.com/kb/210060/en-us

Access 2007 also gives you split forms, where you can see the datasheet (on
the left half or in the top half) and the detailed view at the same time
with just one form.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Nicolas Boretos" <no************@maich.grwrote in message
news:1173349377.811235@athnrd02...
Hello,

Beginning access user here.
I am displaying the table and its existing form at the same time.
I would like to double-click on a row in the table and have the form go
to/display the selected record.

tia,
nikos
Mar 8 '07 #2
Allen Browne wrote:
>
Tables are just buckets to hold records.
They don't have the power to do what you want.

Yon can synchronize two forms, as described here:
http://support.microsoft.com/kb/210060/en-us

Access 2007 also gives you split forms, where you can see the datasheet
(on the left half or in the top half) and the detailed view at the same
time with just one form.
Thanx,

I realized that and bound a macro to an identical form in datasheet view
that essentially has all my fields.

Im using OpenForm with "people1" the target form and the condition

[ID]=[Forms]![people]![ID]

and "people" is the source form

This is bound to a dblclick event, and works.
Then I thought I would also like to be able to go to the record in the
target form when a user clicks the first, next last control at the
bottom of the source form

so I bound this to the OnCurrent event; works, but now the target form
always appears (maybe someone would not want the target form appearing...)

I dont know the name/event bindings for the record control at the bottom
of a form..

thanx, again

nikos

Mar 9 '07 #3
You will probably need to use code rather than mere macros to achieve this.

To test if the form is loaded (assuming Access 2000) or later, use:
CurrentProject.AllForms("People").IsLoaded
so you can operate conditionally.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Nicolas Boretos" <no************@maich.grwrote in message
news:1173428485.362866@athprx03...
Allen Browne wrote:
>>
Tables are just buckets to hold records.
They don't have the power to do what you want.

Yon can synchronize two forms, as described here:
http://support.microsoft.com/kb/210060/en-us

Access 2007 also gives you split forms, where you can see the datasheet
(on the left half or in the top half) and the detailed view at the same
time with just one form.
Thanx,

I realized that and bound a macro to an identical form in datasheet view
that essentially has all my fields.

Im using OpenForm with "people1" the target form and the condition

[ID]=[Forms]![people]![ID]

and "people" is the source form

This is bound to a dblclick event, and works.
Then I thought I would also like to be able to go to the record in the
target form when a user clicks the first, next last control at the bottom
of the source form

so I bound this to the OnCurrent event; works, but now the target form
always appears (maybe someone would not want the target form appearing...)

I dont know the name/event bindings for the record control at the bottom
of a form..

thanx, again

nikos
Mar 9 '07 #4

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

Similar topics

2
by: Simon Pleasants | last post by:
Am something of a newbie at this, so please bear with any stupid questions. I have created a database to track shipments that we import. The information is stored in a table and I have created...
5
by: Susan Bricker | last post by:
Hi. I have a friend who has a form (ok that's a lie ... it's me that has the form) that is opened up with AllowAdditions and AllowEdits = TRUE and the selection criteria for the form results in 2...
0
by: Reidar | last post by:
When I select formview in toolbox, I get a form with fields from the datasource. This works very nice, but how do I get the labels and fields into a table without handcoding the table around the...
2
by: sudhashekhar30 | last post by:
hi all i am using form view. i want to display record in form view from different table. like 1rst time its showing record from tableemp. 2nd time i want to show record of tableSalary in same form...
3
by: sudhashekhar30 | last post by:
hi all i am using formview control(asp.net 2.0) 1rst time. don't know much about it. i want to display record in it from different tables at different time. like 1rst time form view is showing...
3
by: mckbill | last post by:
Is there a way I can direct the cursor to a specific field (variable) in a form by typing the field name while in form view? I have a form with many fields, and it would be nice if there were...
2
by: sudhashekhar30 | last post by:
hi all i am using form view, and don't know how to use. please tell how to bind data to form view. i want to connect it through dataset(run time connection).please reply fast.
1
by: nithnat | last post by:
how to bind data to form view in asp.net 2.0(not through wizard)
0
by: dan | last post by:
Hi, I have a form that displays record fields. The record has a 'type' field. I'd like to use different controls for one of the fields based on the type. I initially thought of putting all...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
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,...

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.