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

Hide or disable records

Are there anyway to hide or disable certain records that meet some
criteria ? In my app. after the quantity delivered equal to order
quantity, which means balance=0, i need to hide that record. Pls help.
Thanks.

Regards,
Daniel
Nov 12 '05 #1
3 3006
In the OnCurrent Event of the form showing such records, put code like this:

Me.AllowEdits = (Me.QtyDelivered <> Me.QtyOrdered)
Me.AllowDeletes = Me.AllowEdits
Nov 12 '05 #2
Change the SQl of the form recordsource, or use a filter that restricts
recrds using whatever criteria you need.

Mike Storr
www.veraccess.com

Daniel Tan wrote:
Are there anyway to hide or disable certain records that meet some
criteria ? In my app. after the quantity delivered equal to order
quantity, which means balance=0, i need to hide that record. Pls help.
Thanks.

Regards,
Daniel

Nov 12 '05 #3
On 29 Feb 2004 13:04:48 GMT, DCM Fan wrote:
In the OnCurrent Event of the form showing such records, put code like this:

Me.AllowEdits = (Me.QtyDelivered <> Me.QtyOrdered)
Me.AllowDeletes = Me.AllowEdits

^^
Me.AllowDeletions

Peter
Nov 12 '05 #4

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

Similar topics

5
by: Boo | last post by:
I know it's possible to manipulate the status bar when a user scrolls over links, but is there a way to completely disable or hide it? I have a flash program that connects to a database every 5...
3
by: ASGMikeG | last post by:
Hi, I'm upgrading an application from VB6 to .NET. It used tab controls in VB6 to achieve a tab dialogue / wizard type effect - navigating from one tab to the next as the user filled in...
2
by: amil [c#newbie] | last post by:
Hi all, I am using the Notify Icon sample that came with .Net Docs and was able to run it. However, I want to start the form as minimized. I have the ShowInTaskbar = false and in the this is...
4
by: meska | last post by:
Hi all is there a way in a treeview to hide or disable node without reloading the tree or removing the node? I meen if i could programaticly set the node to be disabled ( grayed out, user cannot...
2
by: MAF | last post by:
How do I hide a tabpage of a given tab control? //Disable other tabs until item is saved this.tabPage2.Hide(); //this doesn't work this.tabPage3.Hide(); this.tabPage4.Hide();
1
by: microsoft | last post by:
I am looking for code for a button on a website, and I want it to prevent users from clicking more than once while their request is being processed. I would like it to disable or hide the button...
1
by: Lisa Calla | last post by:
Hi, I have a composite control made of a textbox and a label. I want to show either the textbox or the label, and hide the other control on the client side in response to a click. I can run a...
5
by: Amit | last post by:
Can anyone write the code to hide tabpage of tab control in windows form 2.0 Thanks, Amit
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...
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
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...
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...
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.