473,395 Members | 1,639 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.

Form with Tab Control

Hi,

I would like to have form with Tab Control with 3 pages. Each page in tab
control would contain text boxes from different sources (tables). On first
page would be text boxes from tblOne, second page from tblTwo, third page
from tblThree.
Tables are in relationship 'One to one' (design is ok, allready checked with
people on newsgroup).
1. Is it possible to have input like this on one form?
2. When I go to another page, record from page Two are related to record in
page One. Then when clicking on page Two, I would have to pass ID to this
page. Same goes with third page. Is it possible?

Thanks
Nov 12 '05 #1
5 1642
Yes, you can do what you want!

Base your main form on table1 and include the ID field and one other field that
identifies the record such as CustomerName. Create a subform based on table1 and
include the ID field and all the other fields in table1 except the one you put
on the main form (CustomerName). Place the subform on the first tab page and set
the Link Master/LinkChild properties to ID. Create a subform based on table2 and
include the ID field. Place that subform on the second tab page and set the Link
Master/LinkChild properties to ID. Do the same for table3 on the third tab page.
If you set it up like this, you can choose a customer for example on the main
form and all three subforms will track to the same customer.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Newbee" <ne********@net.hr> wrote in message
news:c0**********@ls219.htnet.hr...
Hi,

I would like to have form with Tab Control with 3 pages. Each page in tab
control would contain text boxes from different sources (tables). On first
page would be text boxes from tblOne, second page from tblTwo, third page
from tblThree.
Tables are in relationship 'One to one' (design is ok, allready checked with
people on newsgroup).
1. Is it possible to have input like this on one form?
2. When I go to another page, record from page Two are related to record in
page One. Then when clicking on page Two, I would have to pass ID to this
page. Same goes with third page. Is it possible?

Thanks

Nov 12 '05 #2
Thanks for help,

I dont have field in table1 which identifies the record such as
CustomerName, because primary key consist of 2 fields:
[Date] and [CompanyID].
Other fields in table One are Data1, Data2, Data3, and they dont indentifie
record.
If I put on main form fields [Date] and [CompanyID] what fields I include on
subform on first tab page (except Data1, Data2,...), how do I connect a form
and sunform on first tab page.

Any help is greatly appreciated.
"PC Datasheet" <sp**@nospam.spam> wrote in message
news:EX*******************@newsread1.news.atl.eart hlink.net...
Yes, you can do what you want!

Base your main form on table1 and include the ID field and one other field that identifies the record such as CustomerName. Create a subform based on table1 and include the ID field and all the other fields in table1 except the one you put on the main form (CustomerName). Place the subform on the first tab page and set the Link Master/LinkChild properties to ID. Create a subform based on table2 and include the ID field. Place that subform on the second tab page and set the Link Master/LinkChild properties to ID. Do the same for table3 on the third tab page. If you set it up like this, you can choose a customer for example on the main form and all three subforms will track to the same customer.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Newbee" <ne********@net.hr> wrote in message
news:c0**********@ls219.htnet.hr...
Hi,

I would like to have form with Tab Control with 3 pages. Each page in tab control would contain text boxes from different sources (tables). On first page would be text boxes from tblOne, second page from tblTwo, third page from tblThree.
Tables are in relationship 'One to one' (design is ok, allready checked with people on newsgroup).
1. Is it possible to have input like this on one form?
2. When I go to another page, record from page Two are related to record in page One. Then when clicking on page Two, I would have to pass ID to this page. Same goes with third page. Is it possible?

Thanks


Nov 12 '05 #3
If you have CompanyID you must have a Company table that has the name of the
company. Include that table also in the record source of the main form then you
can display the name of the company and the Date to identify the record. You
will have to set the LinkMaster field in each subform too include CompanyID and
Date.

Incidently there's a strong hint here that there's a problem with the design of
your tables!!
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Newbee" <ne*********@net.hr> wrote in message
news:c0**********@ls219.htnet.hr...
Thanks for help,

I dont have field in table1 which identifies the record such as
CustomerName, because primary key consist of 2 fields:
[Date] and [CompanyID].
Other fields in table One are Data1, Data2, Data3, and they dont indentifie
record.
If I put on main form fields [Date] and [CompanyID] what fields I include on
subform on first tab page (except Data1, Data2,...), how do I connect a form
and sunform on first tab page.

Any help is greatly appreciated.
"PC Datasheet" <sp**@nospam.spam> wrote in message
news:EX*******************@newsread1.news.atl.eart hlink.net...
Yes, you can do what you want!

Base your main form on table1 and include the ID field and one other field

that
identifies the record such as CustomerName. Create a subform based on

table1 and
include the ID field and all the other fields in table1 except the one you

put
on the main form (CustomerName). Place the subform on the first tab page

and set
the Link Master/LinkChild properties to ID. Create a subform based on

table2 and
include the ID field. Place that subform on the second tab page and set

the Link
Master/LinkChild properties to ID. Do the same for table3 on the third tab

page.
If you set it up like this, you can choose a customer for example on the

main
form and all three subforms will track to the same customer.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Newbee" <ne********@net.hr> wrote in message
news:c0**********@ls219.htnet.hr...
Hi,

I would like to have form with Tab Control with 3 pages. Each page in tab control would contain text boxes from different sources (tables). On first page would be text boxes from tblOne, second page from tblTwo, third page from tblThree.
Tables are in relationship 'One to one' (design is ok, allready checked with people on newsgroup).
1. Is it possible to have input like this on one form?
2. When I go to another page, record from page Two are related to record in page One. Then when clicking on page Two, I would have to pass ID to this page. Same goes with third page. Is it possible?

Thanks



Nov 12 '05 #4
JLM
Excuse the eavesdropping, but can this concept be taken further? What is
the limit to the number of tabs in a form?

thanks in advance.
Jeff
"PC Datasheet" <sp**@nospam.spam> wrote in message
news:EX*******************@newsread1.news.atl.eart hlink.net...
Yes, you can do what you want!

Base your main form on table1 and include the ID field and one other field that identifies the record such as CustomerName. Create a subform based on table1 and include the ID field and all the other fields in table1 except the one you put on the main form (CustomerName). Place the subform on the first tab page and set the Link Master/LinkChild properties to ID. Create a subform based on table2 and include the ID field. Place that subform on the second tab page and set the Link Master/LinkChild properties to ID. Do the same for table3 on the third tab page. If you set it up like this, you can choose a customer for example on the main form and all three subforms will track to the same customer.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Newbee" <ne********@net.hr> wrote in message
news:c0**********@ls219.htnet.hr...
Hi,

I would like to have form with Tab Control with 3 pages. Each page in tab control would contain text boxes from different sources (tables). On first page would be text boxes from tblOne, second page from tblTwo, third page from tblThree.
Tables are in relationship 'One to one' (design is ok, allready checked with people on newsgroup).
1. Is it possible to have input like this on one form?
2. When I go to another page, record from page Two are related to record in page One. Then when clicking on page Two, I would have to pass ID to this page. Same goes with third page. Is it possible?

Thanks


Nov 12 '05 #5
I am not certain, because the physical limit exceeds the practical number
that are usable. While opinions may differ on the practical number that are
usable, there is wide agreement that it is "relatively few".

Larry Linson
Microsoft Access MVP
"JLM" <je**********@colostate.edu> wrote in message
news:40******@news.ColoState.EDU...
Excuse the eavesdropping, but can this concept be taken further? What is
the limit to the number of tabs in a form?

thanks in advance.
Jeff
"PC Datasheet" <sp**@nospam.spam> wrote in message
news:EX*******************@newsread1.news.atl.eart hlink.net...
Yes, you can do what you want!

Base your main form on table1 and include the ID field and one other field
that
identifies the record such as CustomerName. Create a subform based on table1 and
include the ID field and all the other fields in table1 except the one

you put
on the main form (CustomerName). Place the subform on the first tab page and set
the Link Master/LinkChild properties to ID. Create a subform based on

table2 and
include the ID field. Place that subform on the second tab page and set

the Link
Master/LinkChild properties to ID. Do the same for table3 on the third

tab page.
If you set it up like this, you can choose a customer for example on the main
form and all three subforms will track to the same customer.
--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"Newbee" <ne********@net.hr> wrote in message
news:c0**********@ls219.htnet.hr...
Hi,

I would like to have form with Tab Control with 3 pages. Each page in

tab control would contain text boxes from different sources (tables). On first page would be text boxes from tblOne, second page from tblTwo, third page from tblThree.
Tables are in relationship 'One to one' (design is ok, allready
checked with people on newsgroup).
1. Is it possible to have input like this on one form?
2. When I go to another page, record from page Two are related to
record
in page One. Then when clicking on page Two, I would have to pass ID to this page. Same goes with third page. Is it possible?

Thanks



Nov 12 '05 #6

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

Similar topics

25
by: Lyn | last post by:
Hi, I am working on a genealogy form. The only table (so far) lists everybody in the family, one record per person. Each record has an autonum ID. The parent form (frmMainForm) displays the...
3
by: Bryan Capps | last post by:
I have a text box control on a form, the value of which is calculated (concatenated) from entries on a subform. Accordingly, I've set the control's locked property to true and the tab stop...
11
by: Jozef | last post by:
I have some old code that I use from the Access 95 Developers handbook. The code works very well, with the exception that it doesn't seem to recognize wide screens, and sizes tab controls so that...
4
by: Paradox | last post by:
Hey, I'm trying to figure out what situations call for the use of a derived form control such as: public class myListBox : System.Windows.Forms.ListBox and what situations call for the use...
11
by: Tom | last post by:
Hi all, I posted the same question one week ago in http://communities.microsoft.com/newsgroups/previewFrame.as p? ICP=msdn&sLCID=us&sgroupURL=microsoft.public.dotnet.framewo...
7
by: Tom wilson | last post by:
I'm trying to create dynamic controls in ASP.Net. It's driving me nuts. I keep getting the error: Control '16' of type 'RadioButton' must be placed inside a form tag with runat=server. Dim...
11
by: PAul Maskens | last post by:
The form designer adds unnecessary code to the section when using a subclassed control. I've reproduced this in VS.NET 2002 and VS.NET 2003 so it's pretty fundamental. Outline steps: Create a...
5
by: ortaias | last post by:
I have a form which calls up a second form for purposes of data entry. When closing the data entry form and returning to the main form, things don't work as expected. When I return to the main...
6
by: dbuchanan | last post by:
VS2005 I've been reading all the help I can on the topic (MSDN, other) but I can't make sense of this. Desired behavior; The user is to choose from the displayed list of the databound combobox...
19
by: Coward 9 | last post by:
HI, I saw in an example hello.aspx, there is a <form tagbeing used like <form runat="server> I search all html tag references and could NOT find "runat" attributes for <formtag. which...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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...
0
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...

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.