473,842 Members | 1,421 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dbhiddenobject doesnt work

hi all,

i'm trying to hide by database with this code:
Application.Cur rentDb.TableDef s(CurrentDb.Tab leDefs(i).Name) .Properties("At tributes").Valu e
= 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 3806
Try AND-ing the attribute to the constant:

If (CurrentDb.Tabl eDefs(i).Attrib utes 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******** *************** ***********@s8g 2000prg.googleg roups.com...
>
i'm trying to hide by database with this code:
Application.Cur rentDb.TableDef s(CurrentDb.Tab leDefs(i).Name) .Properties("At tributes").Valu e
= 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...@Se eSig.Invalid>wr ote:
Try AND-ing the attribute to the constant:

If (CurrentDb.Tabl eDefs(i).Attrib utes 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******** *************** ***********@s8g 2000prg.googleg roups.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.Cur rentDb.TableDef s(CurrentDb.Tab leDefs(i).Name) .Properties("At *tributes").Va lue
= 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.Table Defs(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******** *************** ***********@e10 g2000prf.google groups.com...
On 31 מרץ, 18:23, "Allen Browne" <AllenBro...@Se eSig.Invalidwro te:
Try AND-ing the attribute to the constant:

If (CurrentDb.Tabl eDefs(i).Attrib utes And dbHiddenObject) <0 Then

news:2b******** *************** ***********@s8g 2000prg.googleg roups.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
1644
by: Developwebsites | last post by:
#ifndef PERSON_H #define PERSON_H #include<iostream> #include<iomanip> #include<string> class Person { protected: char name;
1
2541
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 ( 255 ); SELECT DISTINCT MyField AS Result FROM tb_Client;
3
7228
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 also setting the autopostback property to true for the dropdown list and it works but the handler doesnt get invoked at runtime... I have to do it in itemdatabound becaz whether to add the handler or not is driven based on the information which i...
3
2174
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 from an aspx file. Even a page with <%@ Page Language = "c#" Trace="True" %> doesnt show the trace information. If i create an .asp file, the server side code between <% %> will process and display correctly on the page.
0
1652
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 application by pressing run button. but it doesnt work when we type the path directly in the browser's address bar eg. http://localhost/testapplicationdefault.aspx error it gives is "COULD NOT LOAD testapplication._default". IN default.aspx. While in...
3
2987
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 imiedietely after i insert value into session1... is there any other way to do it? insert into 2 tables at the same time ...? if(!($sessid)){ session_register('sessid'); mysql_query("insert into session1 set sessid=null,
1
1602
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 showing curent data in dataset . in end i am calling update metod to insert data in sql database but this metod doesnt work correctly. at all doesnt work. but givenot any error . fill data from my database (work propebly) ...
1
3322
by: thread | last post by:
Hi All, i cannot recall what is the function that is opposite to dbHiddenObject any ideas?
0
10952
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...
0
10618
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9459
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 projectplanning, coding, testing, and deploymentwithout 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...
1
7862
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5699
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...
0
5887
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4506
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
4096
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3148
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.