473,545 Members | 2,047 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

TabControl IndexChanged - MsgBox and Save Record?


Dear Group

For 5! Days I'm trying now to come up with a way for the following.

Let's assume (simplified) I've a tab were a user eneters a contact
record. If the user clicks on another tab and hasn't saved I want to
display a message saying "Want to save?" with Yes/No buttons remaining
on that tab.

It works partially and I'm going to loose my nerves. I wonder whether
there's a code sample or control out there which does that stuff?

Thanks for your time and efforts!

Martin

Jul 22 '05 #1
0 1136

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

Similar topics

4
10166
by: Fred | last post by:
Hi. How does one display a confirmation message of either 'Record Updated' or 'Recorded Added"? I've tried the form afterupdate and afterinsert but the afterupdate occurs on an insert too? So I tried to test for a new record in afterupdate using .newrecord but that does not work. Here is my code Any idea. Thanks in advance...
1
4421
by: @ndy | last post by:
Hi developers, i've a problem with my tabcontrol. Before i open my form with a tabcontrol with 3 tabs (Frm_Files|Frm_Lines|Frm_Guarantee) all the controls on al the tabs must be enabled. With the next code only the controls on the active form are enabled. For Each ctl In Me.Controls Select Case ctl.ControlType
3
3769
by: Susan Bricker | last post by:
Greetings. I am running Acc 2k3 on Windows XP. I have the following VB code behind a form in the btnClose_Click event: Dim intAns As Integer If blnDataChanged = True Then intAns = MsgBox("Data has been updated but the record has not been saved." & _ vbCrLf & vbCrLf & _ "Do you want to save your changes before the window
1
2567
by: cfyam | last post by:
How can I to disable some tabpages in TabControl, then user cann't select these pages?
3
4690
by: Steve Cutting | last post by:
Hi all, I have a CheckedListBox on one pane of a TabControl on a form. I find that whenever the user clicks a different tab then comes back, any checks that were in the list have disappeared. After a bit of experimenting I have discovered that the problem only occurs when the CheckedListBox is using a dataset table as the source. If I...
0
285
by: theintrepidfox | last post by:
Dear Group For 5! Days I'm trying now to come up with a way for the following. Let's assume (simplified) I've a tab were a user eneters a contact record. If the user clicks on another tab and hasn't saved I want to display a message saying "Want to save?" with Yes/No buttons remaining on that tab. It works partially and I'm going to...
2
1256
by: mosscliffe | last post by:
I am trying to use IndexChanged of DropDownList to control the next part of my site. The problem I have is that the 'indexchanged' is not getting called if I select the first entry on first displaying of DDL. Similarly if I re-select the previous selection with the mouse, it still does not recognise, it as having changed. I tried...
5
7499
by: temijojo | last post by:
Hello, Can someone help me in this problem. In my content page, I used 2 user controls inside an Ajax Toolkit TabControl. One of the user controls is a data entry with a dropdownlist. The dropdownlist does not retain its selected value when I make a postback (click an update or save button). But when I run it without Tabcontrol, it's ok. Is...
10
7146
beacon
by: beacon | last post by:
Hi everybody, This is probably going to sound unorthodox, but I have to log records that are deleted...I know, go figure. Anyway, I have a form with a (continuous) subform, and on the subform I have a command button, called cmdDelete, that launches a dialog form, called frmDeleteCurrentRecord, where the user has to enter their name and a...
0
7475
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, 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...
0
7409
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...
0
7664
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. ...
0
7918
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...
1
7436
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...
0
5981
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1897
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
1022
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.