473,388 Members | 1,382 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,388 software developers and data experts.

how to disable the 'next' navigation button to new records on conditions?

Hi, I am new here. And this is so confusing to me.

On the online MS access downloads, I downloaded the order entry sample
database. On the 'Orders by customers' form, we can click on the
'Payments' button and view/add new payments.

When the customer's 'amount due' is zero, the 'next record' on
navigation button is disabled. How does this work?

I tried my own, and the zero amount kept going on, until i opened the
form a second time.

I checked the form property, all the VBA codes for this form, and the
"Orders by Customers" form's subform's events. I could not find
anything.

What am i missing here?

Many thanks in advance.

ming

Nov 13 '05 #1
2 7581
swingingming wrote:
Hi, I am new here. And this is so confusing to me.

On the online MS access downloads, I downloaded the order entry sample
database. On the 'Orders by customers' form, we can click on the
'Payments' button and view/add new payments.

When the customer's 'amount due' is zero, the 'next record' on
navigation button is disabled. How does this work?

I tried my own, and the zero amount kept going on, until i opened the
form a second time.

I checked the form property, all the VBA codes for this form, and the
"Orders by Customers" form's subform's events. I could not find
anything.

What am i missing here?

Many thanks in advance.

ming


Check for something like
AllowAdditions
in code (if it uses macros, good luck). It might be set in the form's
Before/After update code/macro. Ex:
If Me.AmtDue = 0 then me.allowadditions = False
Nov 13 '05 #2
swingingming wrote:
Hi, I am new here. And this is so confusing to me.

On the online MS access downloads, I downloaded the order entry sample
database. On the 'Orders by customers' form, we can click on the
'Payments' button and view/add new payments.

When the customer's 'amount due' is zero, the 'next record' on
navigation button is disabled. How does this work?

I tried my own, and the zero amount kept going on, until i opened the
form a second time.

I checked the form property, all the VBA codes for this form, and the
"Orders by Customers" form's subform's events. I could not find
anything.

What am i missing here?

Many thanks in advance.

ming


Check for something like
AllowAdditions
in code (if it uses macros, good luck). It might be set in the form's
Before/After update code/macro. Ex:
If Me.AmtDue = 0 then me.allowadditions = False
Nov 13 '05 #3

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

Similar topics

21
by: Tony Marston | last post by:
If the use of the browser's BACK button is interfering with the operation of your web application then take a look at this article entitle "Back Button Blues" ...
3
by: William Wisnieski | last post by:
Hello Everyone, Access 2000, I have a main unbound form with a bound datasheet subform . The subform is bound to a query that returns records based on criteria in the main form. The user...
2
by: hedrew3 | last post by:
I created a form with a subform using the Access 2000 Forms Wizard. Both the form and the subform have their individual standard navigation bars with the minimum buttons (First, Prev, etc). My...
0
by: swingingming | last post by:
Hi, I am new here. And this is so confusing to me. On the online MS access downloads, I downloaded the order entry sample database. On the 'Orders by customers' form, we can click on the...
1
by: Jon Smith via DotNetMonster.com | last post by:
Hi all, I have a windows form which contains several text boxes. I would like these text boxes to DataBind to records in an Access.mdb. I have connected to the Access.mdb using ADO.Net. ...
2
by: Marlene A. Roman | last post by:
Hello I have a question: I have a datagrid. I can make a specific search using some parameters I write and When a press a command button it calls an sp and returns the results of a search that...
3
by: Laurahn | last post by:
Hi: I don't know if it 's possible change the behavior of the IE from asp .net app. I would like the back and forward button be disabled when the users navigates in the asp app. or disable...
3
parshupooja
by: parshupooja | last post by:
Hey all, I have button on page. OnClick event I am saving records to database, which takes couple of seconds, meanwhile if user becomes impatient and clicks again, it triggers save again. I want...
2
by: MLH | last post by:
I have an A97 form with Allow Edits, Allow Deletions and Allow Additions properties set. Scrolling through records will eventually take me to the end of the records and one more PgDn will take me...
8
by: GaryDean | last post by:
I have a Wizard page and need to affect the next and previous buttons from my code-behind. I've googled around and found two solutions, and neither appear to work. I can access the SideBarList...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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: 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
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...
0
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,...
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...

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.