473,400 Members | 2,163 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,400 software developers and data experts.

How do I provide the user a messages that confirms data page was successfully saved

I have created a data access page using MS Access 2003 and am having the following issue:

I have a "Save" button on the data page and the page is working correctly but does not provide the user with any confirmation that the save has worked correctly (just saves the page and nothing displays). I have tried putting in "Alert" and "Msbox" code in the following script (script that saves page) and have had no success in providing the user with a confirmation message when the save worked successfully

Any assistance you can provide would be greatly appreciate

Thanks

Nate


Expand|Select|Wrap|Line Numbers
  1. <SCRIPT language=javascript event=onclick for=SaveBtn>
  2. try { if (MSODSC.DataPages.Count > 0)
  3. if (MSODSC.CurrentSection == null)
  4.     MSODSC.DataPages(0).Save();
  5. else
  6.     MSODSC.CurrentSection.DataPage.Save(); }
  7. catch (e)
  8. { alert (e.description);}
  9. </SCRIPT>
Note: I created the save button using a wizard. The code successfully displays errors but does not display a message when the save is successful
Aug 19 '10 #1
0 1052

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: indie | last post by:
how to make a user management in php, i mean that i want to limit the user access to my page. the script will not allow 2 user have an access to my page at the same time. the script only allow 1...
2
by: msnews.microsoft.com | last post by:
It appears myButton_OnClick is triggering in my user control AFTER its parent's Page_Load already runs. Is there a way to make the parent Page_Load to run afterwards? I'm changing a session...
2
by: Patrick.O.Ige | last post by:
Is it possible to execute a query or do some validation before loading a page.. I have a survey page and i want to validate users before loading the page. I have done it in the page_load. But the...
2
by: vs | last post by:
Hello, A quick question... How can I access the properties of controls that are on a user control from the page that contains the user control? I have a user control with two labels. I then...
2
by: UJ | last post by:
I have two user controls on a page. When a user selects something from one, the other one has to react. How do I go about this? TIA. Jeffrey.
0
by: Chris Davoli | last post by:
VS2005 - How do I reference a User Control from the ASPX page that I have placed the user control on? Here is the code I used from VS2003 and it worked, but for VS2005 it gives me a null reference...
1
by: Rushi | last post by:
Hi All, I want to publish one Event from my Header User Control using Master pAge . And want to attach/detach this event from individual pages. Details: I have one User Control Header.ascx....
4
by: kveerendrareddy | last post by:
Hi friends, In my web page i have to create a combobox in HTML+JavaScript. The nature of that combobox should be such that it should allow the user to enter the data in the combobox...
2
by: olddocks | last post by:
what is the best way to output error messages from one page to another? i currently send the messages to display using header() with GET Is there any good workarounds? or a standard way of...
3
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
I have a asp.net app. When session is invalid, how to redirect user to the login page? I don't want to add the code to redirect user to the login page into every page. Thanks, -Billy
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...
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,...
0
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...

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.