473,394 Members | 1,812 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.

dbhiddenobject doesnt work

hi all,

i'm trying to hide by database with this code:
Application.CurrentDb.TableDefs(CurrentDb.TableDef s(i).Name).Properties("Attributes").Value
= dbhiddenobject

from some reason it doesnt work
the table are not hidden,does anyone have an idea what can cause this
problem?
Mar 31 '08 #1
3 3783
Try AND-ing the attribute to the constant:

If (CurrentDb.TableDefs(i).Attributes And dbHiddenObject) <0 Then

--
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.

"thread" <ya******@gmail.comwrote in message
news:2b**********************************@s8g2000p rg.googlegroups.com...
>
i'm trying to hide by database with this code:
Application.CurrentDb.TableDefs(CurrentDb.TableDef s(i).Name).Properties("Attributes").Value
= dbhiddenobject

from some reason it doesnt work
the table are not hidden,does anyone have an idea what can cause this
problem?
Mar 31 '08 #2
On 31 מרץ, 18:23, "Allen Browne" <AllenBro...@SeeSig.Invalid>wrote:
Try AND-ing the attribute to the constant:

If (CurrentDb.TableDefs(i).Attributes And dbHiddenObject) <0 Then

--
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.

"thread" <yaniv...@gmail.comwrote in message

news:2b**********************************@s8g2000p rg.googlegroups.com...
and what is the statement there?
i need to make it hide
no success till now
>
>

i'm trying to hide by database with this code:
Application.CurrentDb.TableDefs(CurrentDb.TableDef s(i).Name).Properties("AtÂ*tributes").Value
= dbhiddenobject
from some reason it doesnt work
the table are not hidden,does anyone have an idea what can cause this
problem?-הסתר טקסט מצוטט-

-הר××” טקסט מצוטט-
Apr 1 '08 #3
Sorry: you were trying to write the property:

With CurrentDb.TableDefs(i)
.Attributes = .Attributes OR dbHiddenObject
End With

--
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.

"thread" <ya******@gmail.comwrote in message
news:59**********************************@e10g2000 prf.googlegroups.com...
On 31 מרץ, 18:23, "Allen Browne" <AllenBro...@SeeSig.Invalidwrote:
Try AND-ing the attribute to the constant:

If (CurrentDb.TableDefs(i).Attributes And dbHiddenObject) <0 Then

news:2b**********************************@s8g2000p rg.googlegroups.com...
and what is the statement there?
i need to make it hide
no success till now

Apr 1 '08 #4

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

Similar topics

4
by: Developwebsites | last post by:
#ifndef PERSON_H #define PERSON_H #include<iostream> #include<iomanip> #include<string> class Person { protected: char name;
1
by: Station Media | last post by:
Hi, here my problem, i use stored procedure in ACCESS database(latest version), and i would like to use this procedure but it doesnt work, do you know why ? Procedure: PARAMETERS MyField Text...
3
by: Clouds | last post by:
Hi ! How do I add the dynamic event handler for a dropdownlist present in the itemtemplate of a datalist !! I am doing it in the itemdatabound event of the datalist but it doesnt work... I am...
3
by: Bruno Paquette | last post by:
I have installed visual studio .net and now i started to write the first few examples from the 70-315 book by Kalani. It looks like all server side code that i put between <% %> doesnt process...
0
by: Juna | last post by:
I have been working in vs2003, but now started to work in vs2005 but the problem, I have simple web application not website, which work i mean open in browser when we press F5 or run the...
3
by: jx2 | last post by:
hi guys i would appriciate your coments on this code - when i ran it for the very first time it doesnt see @last = LAST_INSERT_ID() but when i ran it next time it read it properly i need to know it...
1
by: Dany13 | last post by:
hi all. i using some text box for input value and some localvarible for passing this data to dataset . give instance for correct row of dataset and data in data table . use one gird view for...
1
by: thread | last post by:
Hi All, i cannot recall what is the function that is opposite to dbHiddenObject any ideas?
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: 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: 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
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:
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...

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.