hwt 9
New Member
Hi,
I am pretty new to access and have created a booking database. I have a form, which has a tabstrip on that contains all the details about a person on one page of the tabstrip and all the bookings they have on another page.
I have another form where the user selects the person whose details they would like to see, then the form with the tabstrip on is displayed, and linked to the previous form but the PersonID.
However, if the person in question has not made any bookings, then the tabstrip is not visible.
How can I solve this?
Thanks in advance.
10 3826 MMcCarthy 14,534
Recognized Expert Moderator MVP
Hi,
I am pretty new to access and have created a booking database. I have a form, which has a tabstrip on that contains all the details about a person on one page of the tabstrip and all the bookings they have on another page.
I have another form where the user selects the person whose details they would like to see, then the form with the tabstrip on is displayed, and linked to the previous form but the PersonID.
However, if the person in question has not made any bookings, then the tabstrip is not visible.
How can I solve this?
Thanks in advance.
Put a command button on the form to open a form to allow bookings to be made then requery the first form.
hwt 9
New Member
Put a command button on the form to open a form to allow bookings to be made then requery the first form.
I'm not quite sure what you mean.
On the form with my tabstrips, I have a tab that enables the user to add bookings to each person stored in the database. So should I create a new form to make these bookings and take it off the tabstrip?
MMcCarthy 14,534
Recognized Expert Moderator MVP
I'm not quite sure what you mean.
On the form with my tabstrips, I have a tab that enables the user to add bookings to each person stored in the database. So should I create a new form to make these bookings and take it off the tabstrip?
What do you mean by a tab/tabstrip?
hwt 9
New Member
The tab control in the form designer
MMcCarthy 14,534
Recognized Expert Moderator MVP
So have you just added the fields to the tab page without putting them on a subform. Or are the bookings on a subform on the tab page. All a tab is is a page i.e. Each tab is a different page on the same record. This doesn't explain how your bookings are working. For instance if you have more than one booking how is that being represented on the page.
hwt 9
New Member
Ahh sorry.
I am using my tabs to display all the data about 1 person at a time, so 1 tab has the personaly details about the person, the next has a subform on that shows all the sessions that the person is booked in for and I have a another tab to add new sessions for the person.
Would it be easier to create a seperate form to add sessions for each person?
MMcCarthy 14,534
Recognized Expert Moderator MVP
Ahh sorry.
I am using my tabs to display all the data about 1 person at a time, so 1 tab has the personaly details about the person, the next has a subform on that shows all the sessions that the person is booked in for and I have a another tab to add new sessions for the person.
Would it be easier to create a seperate form to add sessions for each person?
Yes, instead of the third tab to add new sessions have that on a separate form. Add a command button to the second tab under the subform to open this new form and in the Close event of the new form add the code to requery the subform. -
Forms![MainFormName]![SubFormName].Requery
Mary
hwt 9
New Member
The add session part of my database now works just as I would like it to! So many thanks for your help there.
However, I still have the problem that my tab control is only visible if there is any data present on the subform that one page of it contains, even though the first tab always has data present. Do you have any ideas as to how to solve this?
Thanks.
MMcCarthy 14,534
Recognized Expert Moderator MVP
The add session part of my database now works just as I would like it to! So many thanks for your help there.
However, I still have the problem that my tab control is only visible if there is any data present on the subform that one page of it contains, even though the first tab always has data present. Do you have any ideas as to how to solve this?
Thanks.
I don't know why this is happening. It is not usual behaviour.
Mary
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Eric |
last post by:
I'm currently using the TabStrip control, but am having
slighly difficulties. I've managed to retrieve the Items
from the TabStrip using the Items property. But how can I
enforce the changes that I've made to the Tabs within the
TabItemCollection retrieved from TabStrip.Items?
|
by: tottigang |
last post by:
Hi,
I have a tabstrip and I have some tabs in it. On the first page, all
the tabs are enabled, I need to disbale part of the tabs at a specific
point in the application and again enable them. I have a hard time
doing this. This is concerned with a production issue. Could anyone
please suggest me a solution to this.
I appreciate your time and help.
|
by: mehul |
last post by:
CheckBox template always evaluate to False even if checked in a DataGrid
hosted inside a TabStrip in ASP.NET
Hi,
I am trying to develop an ASP.NET application. I am using TabStrip
(which is part of IE WebControls).
Inside a tab I have a datagrid defined as follows:
|
by: yufufi |
last post by:
Hi,
I want to use tabstrip on my webpage. I found the tabstrip page and
installed webcontrols from msdn.
But I couldn't make tabstrip to work at client side. It always does a
postback. I copied the exact source code from the example
at the msdn but still it does a postback. Confused ??
http://www.gotdotnet.com/team/webcontrols/tab/tab2.aspx this is the page
|
by: Greg Taylor |
last post by:
I'm using the IE webcontrols (obviously) trying to dynamically generate a
tabstrip based of a DTS package. I can get the tabstrip to show if I assign
the generation after the page completely loads and I trigger the execution to
a button/click/etc... However if I try to link the execution to onLoad I get
"dynaPage is undefined." DynaPage being the multipage I create dynamically.
Not sure why, and what I need to change to fix this. Any...
| |
by: Dave |
last post by:
Greetings,
I am using a tabstrip in a user control (ascx) in a web application (aspx)
that is used to navigate between the different aspx pages. Whenever I click
on one of them, the response.redirect command works fine, but the page
reloads with the first tab selected every time. If I try to change the
selectedindex, it runs my SelectedIndexChanged routine so that doesn't work
either.
Is there a way I can change the selectedindex of...
|
by: Bart Schelkens |
last post by:
Hi,
I've created a webusercontrol that contains a tabstrip
(Microsoft.Web.UI.WebControls.TabStrip.
I want to raise the event when the selected index of the tabstrip changes.
I wrote the following code :
Public Event TabIndexChanged(ByVal intSelectedIndex As Int16)
Private Sub TabStrip1_onSelectedIndexChange(ByVal sender As System.Object,
|
by: ae |
last post by:
can someone help me? i copied this from msdn, and can't get it to work on
the Response.Redirect. I think it should be that, and I also tried
Page.Navigate("www.yahoo.com"), but that gave me an error so I thought I'd
try it this way.
<%@ Register TagPrefix="ie" Namespace="Microsoft.Web.UI.WebControls"
Assembly="Microsoft.Web.UI.WebControls" %>
<HTML>
<script runat="server">
|
by: Mardy |
last post by:
Hello
I've been using the tabstrip and multipage controls and really like the way
this combination allows users to switch between tabs without a postback.
I'd like to get more detailed information about these controls but can only
find basic information on the internet. In particular, I'd like to hide or
disable tabs dynamically and I'm not sure how to do this. I'd appreciate any
examples or insight.
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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...
| |
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...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |