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

Hiding the Properties Box

How do I suppress the properties box on database startup?

Thanks.

Aug 22 '08 #1
3 1768
<tr******@comcast.netwrote in message
news:c7**********************************@a1g2000h sb.googlegroups.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...@SeeSig.Invalid>
wrote:
<troy_...@comcast.netwrote in message

news:c7**********************************@a1g2000h sb.googlegroups.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******@comcast.netreplied in message
news:2a**********************************@d1g2000h sg.googlegroups.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;"Contains";7;"Not Contain";8;"Ends";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
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...
6
by: Microsoft | last post by:
Base class: class AssetBase { string _clli; public string CLLI { get
7
by: Baski | last post by:
Base class: class AssetBase { string _clli; public string CLLI { get
17
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...
1
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...
7
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...
2
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...
14
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...
12
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...
162
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...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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.