473,785 Members | 2,568 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Hiding the Properties Box

How do I suppress the properties box on database startup?

Thanks.

Aug 22 '08 #1
3 1806
<tr******@comca st.netwrote in message
news:c7******** *************** ***********@a1g 2000hsb.googleg roups.com...
How do I suppress the properties box on database startup?
Open each form in design view, and set the:
Allow Design Changes
property to No.

Save the forms. The properties box won't open when you run these forms.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

Aug 22 '08 #2
On Aug 22, 11:43 am, "Allen Browne" <AllenBro...@Se eSig.Invalid>
wrote:
<troy_...@comca st.netwrote in message

news:c7******** *************** ***********@a1g 2000hsb.googleg roups.com...
How do I suppress the properties box on database startup?

Open each form in design view, and set the:
Allow Design Changes
property to No.

Save the forms. The properties box won't open when you run these forms.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users -http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
Thanks Allen.

Just to let you know, I LOVE your website. I just used your code for
building a dynamic WHERE string to produce a custom report generator.
It absolutely rocks and our Sr. developer is blown away. He has no
idea where I get my secret powers from.

BTW, I know you did a separate listbox tutorial for generating a WHERE
statement, but it would have been great if you would have put that as
an example on the main Search Criteria tutorial. I'm about to create
another report generator incorporating a listbox along with combo
boxes. It is going to be a little daunting but after the success I had
with this last project, I have high hopes.

I also have a couple of questions on the search criteria:

I want to offer some alternatives in a combo box for use in strWhere-
things like 'Is Null', 'Is Not Null', or a combination of values. For
instance, we have three priority ratings- 1, 3 or 5. I already offer a
choice for each separate priority rating, but not for all of them
together- '1,3 and 5'. (There can be null values in this field, so it
does me little good to leave it empty.) I'm a little unsure of how to
do this.

Also, do you have any plans for making a search criteria using AND and/
or OR?

Thanks for all the great info you have on Access. You have no idea how
much your site has helped me out. I'm a big fan.

Troy Lee
Aug 22 '08 #3
Responses in-line.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<tr******@comca st.netreplied in message
news:2a******** *************** ***********@d1g 2000hsg.googleg roups.com...
>
Just to let you know, I LOVE your website. I just used your code for
building a dynamic WHERE string to produce a custom report generator.
It absolutely rocks and our Sr. developer is blown away. He has no
idea where I get my secret powers from.
Excellent. Great to know it's being put to good use. That particular example
is a technique I use over and over in different contexts.
BTW, I know you did a separate listbox tutorial for generating a WHERE
statement, but it would have been great if you would have put that as
an example on the main Search Criteria tutorial. I'm about to create
another report generator incorporating a listbox along with combo
boxes. It is going to be a little daunting but after the success I had
with this last project, I have high hopes.
Too many new ideas in one example can lead people to just give up, so I
think the examples are best separately. It's not hard to combine them
though: just declere 2 different string variables, so you can build up the
list box string first, and then concatenate it into the main filter string
and extra brackets and and AND on the end.
I also have a couple of questions on the search criteria:

I want to offer some alternatives in a combo box for use in strWhere-
things like 'Is Null', 'Is Not Null', or a combination of values. For
instance, we have three priority ratings- 1, 3 or 5. I already offer a
choice for each separate priority rating, but not for all of them
together- '1,3 and 5'. (There can be null values in this field, so it
does me little good to leave it empty.) I'm a little unsure of how to
do this.
Yes, I use an unbound combo box for the operator. User selects a value, and
you use it to build the filter string the the appropriate wildcards.

For a Text field, the combo has properties like this:
Column Count: 2
Column Widths: 0
Bound Column: 1
Row Source Type: Value List
Row Source: 0;"Is";1;"Is Not";4;"Begins" ;5;"Not
Begin";6;"Conta ins";7;"Not Contain";8;"End s";9;"Not End";10;"Blank" ;11;"Not
Blank"

The code then does a Select Case on the combo's value, and builds the string
using = for 0, <for 1, Like "xx*" for 2, ... and Is Not Null for 11.
Also, do you have any plans for making a search criteria using AND
and/or OR?
The problem here is the way to interface the bracketing, since:
a AND (b OR c)
is not the same as:
(a AND b) OR c
where a, b, and c are criteria expressions such as "SomeField Is Null")

As you found, the multi-select list box is one easy way to offer an OR
within a bunch of ANDs.
Thanks for all the great info you have on Access. You have no idea
how much your site has helped me out. I'm a big fan.
Great. All the best as you develop your Access understanding, and put it to
good use, Troy.

Aug 23 '08 #4

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

Similar topics

2
2900
by: Tim Graichen | last post by:
I currently have a form with several combo boxes. I have the background properties and boarder properties of all form fields set as transparent. Therefore, the only part of the controls that are visible, is just the drop down arrow button on the combo boxes. Is there a way of hiding this button until the field has focus? Thank you for your help Tim G
6
6665
by: Microsoft | last post by:
Base class: class AssetBase { string _clli; public string CLLI { get
7
6625
by: Baski | last post by:
Base class: class AssetBase { string _clli; public string CLLI { get
17
2919
by: Bob Weiner | last post by:
What is the purpose of hiding intead of overriding a method? I have googled the question but haven't found anything that makes any sense of it. In the code below, the only difference is that when the Poodle is upcast to the Dog (in its wildest dreams) it then says "bow wow" where the bernard always says "woof" (see code). Basically, it appears that I'm hiding the poodle's speak method from everything except the poodle. Why would I...
1
840
by: Amber | last post by:
The DataGrid allows you to make columns visible or invisible on demand - even edit and other special columns. This article will show you how it is done. Some developers have reported problems controlling the visibility of columns in the DataGrid control. The problem usually comes down to one fact. The DataGrid has a property called AutoGenerateColumns. The default value is "True". This means that when AutoGenerateColumns is set to True,...
7
5177
by: Dennis | last post by:
I have a class named myclass that inheirits from "baseclass". There is a property of "baseclass" that I don't want exposed in the IDE. The MSDN documentation says" "A derived type can hide an inherited member by defining a new member with the same signature. This might be done to make a previously public member private or to define new behavior for an inherited method that is marked as final. " However, this does not hide the...
2
2108
by: Steven Nagy | last post by:
Hi all, How would I go about hiding an inherited property? In particular, I want to hide the 'BackColor' property of the UserControl class. I will then implement my own back color related properties and collections. I can do all the latter, but I don't want to build this nice designable properties and have this big ugly 'BackColor' property available to the user of my components, which will need to be set to Transparent all the
14
2429
by: Dom | last post by:
Hi all I'm developing a control, and I need to hide some properties to the user. For example, suppose I need Text property to be completely inacessible (from a Form/Code that is into another project/assembly). I tried with attributes: <Browsable(False), _ EditorBrowsable(EditorBrowsableState.Never), _ RefreshProperties(RefreshProperties.Repaint), _
12
1975
by: Ste | last post by:
Hi there, I've got a website with a list of Frequently Asked Questions, so there's a question and answer in a long list down the page. Can anyone recommend a simple script that would allow me to hide each answer when the page loaded, but then made them individually appear/disappear when clicking the question? I'm after a solution that will degrade gracefully if a page doesn't
162
10301
by: Sh4wn | last post by:
Hi, first, python is one of my fav languages, and i'll definitely keep developing with it. But, there's 1 one thing what I -really- miss: data hiding. I know member vars are private when you prefix them with 2 underscores, but I hate prefixing my vars, I'd rather add a keyword before it. Python advertises himself as a full OOP language, but why does it miss one of the basic principles of OOP? Will it ever be added to python?
0
9481
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10341
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10095
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9954
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8979
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6741
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5383
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...
1
4054
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
2
3656
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.