473,624 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open Form From Table

Is it possible to open a form from table and have it access a given
record?

I want to be able to query all baseball cards with the last name Jones
and have it open a table. In each record of the table I have a
hyperlink field that opens a form. Now say I have 10 Jones' and I
want the form to open up to Andruw Jones not Chipper Jones. Is this
possible?

This is more of a curiosity question than anything.

Thanks.

Bill
Nov 13 '05 #1
2 7968
Bill, It's not possible via a table because the table doesn't have events
associated with it. What you do is design Forms and use the table/queries
as the recordsource for the forms. You can make the forms look just like a
table by setting its default view to datasheet if you like or you can design
it to look like a datasheet by setting it's view to continuous form and
adjust as you like. Now the form has click, double-click etc. events
associated with each record and you can capture those events, determine the
record you are on, and open another form to the record currently selected on
your form etc. Hope this helps!

--
Reggie

----------
"Bill Hand" <wh*****@Yahoo. com> wrote in message
news:20******** *************** ***@posting.goo gle.com...
Is it possible to open a form from table and have it access a given
record?

I want to be able to query all baseball cards with the last name Jones
and have it open a table. In each record of the table I have a
hyperlink field that opens a form. Now say I have 10 Jones' and I
want the form to open up to Andruw Jones not Chipper Jones. Is this
possible?

This is more of a curiosity question than anything.

Thanks.

Bill

Nov 13 '05 #2
Wouldn't it be easier to use a continious form and use a command
button to open the detailed record? It is not good design to open a
form from a table. Users should never have direct access to the
tables of a database. You are just asking for trouble.
wh*****@Yahoo.c om (Bill Hand) wrote in message news:<20******* *************** ****@posting.go ogle.com>...
Is it possible to open a form from table and have it access a given
record?

I want to be able to query all baseball cards with the last name Jones
and have it open a table. In each record of the table I have a
hyperlink field that opens a form. Now say I have 10 Jones' and I
want the form to open up to Andruw Jones not Chipper Jones. Is this
possible?

This is more of a curiosity question than anything.

Thanks.

Bill

Nov 13 '05 #3

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

Similar topics

55
4645
by: Steve Jorgensen | last post by:
In a recent thread, RKC (correctly, I believe), took issue with my use of multiple parameters in a Property Let procedure to pass dimensional arguments on the basis that, although it works, it's not obvious how the code works if you don't know the intricacies of the Property Let/Get syntax. Likewise, I dislike (and code to minimize the use of) the VB/VBA syntax of returning a value by referring to the function name as if it were a...
3
4528
by: I Are Confused | last post by:
I am trying to open Database #2 while in Database #1 and delete a table that is in #2 so that I can copy a table from #1 into #2 - all through a function. My Database #2, as part of the start up, opens a form for user sign in. It is not starting up with autoexec. I do not want the function to open the window and subsequently open the form in Database #2. Is there anyway to get around this? If I put the open form in the autoexec and...
4
3159
by: Dalan | last post by:
I presume that using an open recordset method is the preferred method of accomplishing what I'm trying to do. Of course, if there are other options that would work, feel free to share them. I need to provide a means of scanning one field for all records and to trigger a message upon opening the form for alerting a user that maintenance activities need to be promptly performed. The recordset does not necessarily have to be used for any...
2
4090
by: Julia Baresch | last post by:
Hi everyone, As some of you may know, we've been having trouble with an unrecognized database format error. Today I installed an unfinished project on the workstation of one of my users. It's a query by form in which she enters the criteria of the record she wants in an unbound form, and it pulls only that record and switches to the entry form so she can enter data. I had noticed it was faster than find or filter, so I offered it to...
1
1876
by: Just Me | last post by:
Table A contains a list of colors (example red, blue, green) Table B contains a variation of the colors in Table A (example light-red, medium-red, dark-red) To add a color variation to Table B, I want it to open a find record dialog box before it opens the form so that you can locate the main color you are going to enter the variations for. The form should then open with the information from Table A already preloaded (or a dialog box...
4
2991
by: sara | last post by:
I am learning with a simple application/form. I am ok - enter customer name, list box of customers, select a customer, see the items for that customer. The items form has customer ID and Name in the header; details on continuous form in detail. I want to press a button "Add Garment" and open the customer item form with the customer ID and Name from the view of the form, but open it as Data Entry so the user can add garments.
3
2802
by: rdemyan via AccessMonster.com | last post by:
My application is split into a front end and back end. Each user has their own copy of the front end. There are a few forms I only want to be open for one user at a time. So I've implemented the following strategy: 1) Create a table with the fields FormName, OpenStatus, FormUser 2) When a user tries to open the form, the code in the Form Load event checks the table for the OpenStatus value (True/False). 3) If the status is True, then...
12
2226
by: Orchid | last post by:
Hello all, I have different version of reports which used for different months. For example, I am using report version 1 up to September, but we have some design changes on the report for October, so I created report version 2. I want a same Command Button to open the appropriated version report for the specific month. I create a table with the following Fields: Month, ReportID, ReportToOpen (this is the exact report name). On a form,...
5
5481
by: BD | last post by:
I am coding with C# in Visual Studio 2005 for a database application residing on remote MS SQL Server 2005. What I want to do is open the same form but from 2 different places and only one instance. I currently have the form where it will open from a double click on datagridview from another form to the proper record and only one instance. However, doing this bypassed by databinding source for opening the form to all records. I still...
0
8172
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8677
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8620
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8335
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6110
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4079
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2605
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1784
muto222
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.