PC Review


Reply
Thread Tools Rate Thread

How Can I Eliminate the "+" Sign When Displaying Table Data

 
 
Rich Locus
Guest
Posts: n/a
 
      1st Feb 2010
I created two tables and used the "Relationships" view to create the
relationships. Now, when I just display the table data (double click the
table name) on the One Table (One to Many), it has a plus sign in the left
column that brings in the "Many" table data if I click the + sign.. I could
not find a way to turn off that feature. Is there?
--
Rich Locus
Logicwurks, LLC
 
Reply With Quote
 
 
 
 
Tom van Stiphout
Guest
Posts: n/a
 
      1st Feb 2010
On Sun, 31 Jan 2010 17:02:01 -0800, Rich Locus
<(E-Mail Removed)> wrote:

Yes there is, and it is a good idea to turn it off. Design the table,
get properties, and set SubDatasheetName to "[none]".

If you search for these keywords you'll probably find code that will
loop over all tables and turn it off for all.

-Tom.
Microsoft Access MVP


>I created two tables and used the "Relationships" view to create the
>relationships. Now, when I just display the table data (double click the
>table name) on the One Table (One to Many), it has a plus sign in the left
>column that brings in the "Many" table data if I click the + sign.. I could
>not find a way to turn off that feature. Is there?

 
Reply With Quote
 
John W. Vinson
Guest
Posts: n/a
 
      1st Feb 2010
On Sun, 31 Jan 2010 18:14:27 -0700, Tom van Stiphout <(E-Mail Removed)>
wrote:

>On Sun, 31 Jan 2010 17:02:01 -0800, Rich Locus
><(E-Mail Removed)> wrote:
>
>Yes there is, and it is a good idea to turn it off. Design the table,
>get properties, and set SubDatasheetName to "[none]".
>
>If you search for these keywords you'll probably find code that will
>loop over all tables and turn it off for all.


Here's some (that I got from this group at some point I've forgotten,
apologies to the author):

Public Function TurnOffSubDataSh() As Integer
Dim db As DAO.Database
Dim tdf As DAO.TableDef
Dim prp As DAO.Property
Const conPropName = "SubdatasheetName"
Const conPropValue = "[None]"

TurnOffSubDataSh = 0
Set db = DBEngine(0)(0)
For Each tdf In db.TableDefs
If (tdf.Attributes And dbSystemObject) = 0 Then
If tdf.Connect = vbNullString And Asc(tdf.Name) <> 126 Then
'Not attached, or temp.
If Not HasProperty(tdf, conPropName) Then
Set prp = tdf.CreateProperty(conPropName, dbText, _
conPropValue)
tdf.Properties.Append prp
TurnOffSubDataSh = TurnOffSubDataSh + 1
Else
If tdf.Properties(conPropName) <> conPropValue Then
tdf.Properties(conPropName) = conPropValue
TurnOffSubDataSh = TurnOffSubDataSh + 1
End If
End If
End If
End If
Next

Set prp = Nothing
Set tdf = Nothing
Set db = Nothing
End Function

--

John W. Vinson [MVP]
 
Reply With Quote
 
Keith Wilby
Guest
Posts: n/a
 
      1st Feb 2010
"Tom van Stiphout" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Sun, 31 Jan 2010 17:02:01 -0800, Rich Locus
> <(E-Mail Removed)> wrote:
>
> Yes there is, and it is a good idea to turn it off. Design the table,
> get properties, and set SubDatasheetName to "[none]".
>
> If you search for these keywords you'll probably find code that will
> loop over all tables and turn it off for all.
>
>


You also need to turn off name auto-correct, else the dreaded [Auto] will
return

Keith.
www.keithwilby.co.uk

 
Reply With Quote
 
Keith Wilby
Guest
Posts: n/a
 
      1st Feb 2010
"John W. Vinson" <jvinson@STOP_SPAM.WysardOfInfo.com> wrote in message
news:(E-Mail Removed)...
>
> Here's some (that I got from this group at some point I've forgotten,
> apologies to the author):
>
>


I think it was Allen Browne.

 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      1st Feb 2010
Rich

Other's have pointed to how you can turn off that 'feature'.

Please also be aware that Access tables are intended to store data, not
display it. You and your users don't need to (and probably shouldn't) work
directly in the tables.

Use Access Forms instead.

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.

"Rich Locus" <(E-Mail Removed)> wrote in message
news:C6378FA8-6FFC-4583-9322-(E-Mail Removed)...
>I created two tables and used the "Relationships" view to create the
> relationships. Now, when I just display the table data (double click the
> table name) on the One Table (One to Many), it has a plus sign in the left
> column that brings in the "Many" table data if I click the + sign.. I
> could
> not find a way to turn off that feature. Is there?
> --
> Rich Locus
> Logicwurks, LLC



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Distribution List not displaying "+" sign for expansion =?Utf-8?B?Q2h1Y2sgU3RvZ25lcg==?= Microsoft Outlook Discussion 6 12th Jan 2008 11:08 PM
Question: Gridview question (displaying data from a related "many" table) Cirene Microsoft ASP .NET 1 15th Nov 2007 05:08 AM
How do I eliminate "Invalid Argument" in an Access 2003 table? =?Utf-8?B?SW52YWxpZCBBcmd1bWVudA==?= Microsoft Access Getting Started 1 11th Feb 2006 09:43 PM
Prevent empty "data entry" row from displaying in a table unless.. =?Utf-8?B?VGVjOTI0MDc=?= Microsoft Access 8 24th Jan 2006 12:19 AM
How to eliminate "X"sign (= ALT+F4) on UserForm in my VBA project ? Robert Microsoft Excel Programming 1 3rd Aug 2003 03:17 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:06 PM.