18096 Create a label that equals a table description
Sign Up |  Live StatsLive Stats    Articles 37,335| Comments 177,301| Members 19,418, Newest Ssimran| Online 472
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Click Here to Register/Sign Up Daily Hukamnama Member Blogs Downloads Website Navigation Help Fonts Tags
Sikh Philosophy Network » Sikh Philosophy Network » Current News » Information Technology » Create a label that equals a table description

Create a label that equals a table description

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 115 USD (23%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
How to create a bar code label in MS Access Arnold Information Technology 5 28-Jul-2006 08:31 AM
Create table from two existing tables mpd Information Technology 1 28-Jul-2006 08:30 AM
Create a new Table Question Bob Information Technology 10 28-Jul-2006 08:28 AM
How do i create a table from part of another table? 1959Nel Information Technology 3 28-Jul-2006 08:09 AM
Table Description on Form Jenn Information Technology 1 28-Jul-2006 08:04 AM


Tags
create, label, equals, table, description
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:25 AM
Mattantaliss's Avatar Mattantaliss
Guest
 
Posts: n/a
   
   
Create a label that equals a table description

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
[I have this cross-posted at
http://www.mrexcel.com/board2/viewtopic.php?t=218716 --- I'm not getting any
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/11994-create-a-label-equals-table-description.html
response there yet, so am also putting up here to increase the chance of a
solution]

Hello,

Is it possible to have a label on a form that references a table description
for its text? [With Access2000]

That is, I have, say, tblMyTable with description "Data for
01.01.06-01.31.06" and I have lblMyLabel on frmMyForm - and I want the text
of lblMyLabel to be "Data for 01.01.06-01.31.06". Of course, the point of
this is that, say, when I add in data for Feb. 1st and update the table
description to "Data for 01.01.06-02.01.06", I want lblMyLabel to update as
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11994
well.

Is that possible?

Thanks,
matt


Got anything to share on This Topic? Why not share your immediate thoughts/reaction with us! Login Now! or Sign Up Today! to share your views... Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:25 AM
Jeff Boyce's Avatar Jeff Boyce
Guest
 
Posts: n/a
   
   
Re: Create a label that equals a table description

If I take your example literally, you have one table for each month.
Embedding data (i.e., month-of-data) in tablenames is likely to cause you no
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11994
end of headaches, as this design will not be able to use the Access
functions/features that rely on a well-normalized data structure.

What the example seems to describe isn't a relational database, but a
spreadsheet.

Could you use a single table, and add a single field to your existing
structure (DateOf XXXXX -- I'm not clear on what you are measuring)?

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Mattantaliss" wrote in message
news:561BA379-DB5E-4705-9D41-56ED3F9CCA7F@microsoft.com...
> [I have this cross-posted at
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11994
> http://www.mrexcel.com/board2/viewtopic.php?t=218716 --- I'm not getting
> any
> response there yet, so am also putting up here to increase the chance of a
> solution]
>
> Hello,
>
> Is it possible to have a label on a form that references a table
> description
> for its text? [With Access2000]
>
> That is, I have, say, tblMyTable with description "Data for
> 01.01.06-01.31.06" and I have lblMyLabel on frmMyForm - and I want the
> text
> of lblMyLabel to be "Data for 01.01.06-01.31.06". Of course, the point of
> this is that, say, when I add in data for Feb. 1st and update the table
> description to "Data for 01.01.06-02.01.06", I want lblMyLabel to update
> as
> well.
>
> Is that possible?
>
> Thanks,
> matt



Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:25 AM
Mattantaliss's Avatar Mattantaliss
Guest
 
Posts: n/a
   
   
Re: Create a label that equals a table description

Hi Jeff,

Actually, I have a few different tables that track various call center
metrics, and each one has a growing date range of data. So, for example,
tblMyTable would have 'Calls Taken' and 'AHT', and has those data for the
dates of, say, 11.01.05-06.22.06. Then tomorrow, when I receive today's
totals, I'd add those data in to the table and update the description under
the table's properties to something like "CallsTaken/AHT Data for
11.01.05-06.23.06".
What I am trying to do here is take the text of that table's description and
have it be the text of a label on a form I have. Does that help clarify a bit?

matt

"Jeff Boyce" wrote:

> If I take your example literally, you have one table for each month.
> Embedding data (i.e., month-of-data) in tablenames is likely to cause you no
> end of headaches, as this design will not be able to use the Access
> functions/features that rely on a well-normalized data structure.
>
> What the example seems to describe isn't a relational database, but a
> spreadsheet.
>
> Could you use a single table, and add a single field to your existing
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11994
> structure (DateOf XXXXX -- I'm not clear on what you are measuring)?
>
> Regards
>
> Jeff Boyce
> Microsoft Office/Access MVP
>
>
> "Mattantaliss" wrote in message
> news:561BA379-DB5E-4705-9D41-56ED3F9CCA7F@microsoft.com...
> > [I have this cross-posted at
> > http://www.mrexcel.com/board2/viewtopic.php?t=218716 --- I'm not getting
> > any
> > response there yet, so am also putting up here to increase the chance of a
> > solution]
> >
> > Hello,
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11994
> >
> > Is it possible to have a label on a form that references a table
> > description
> > for its text? [With Access2000]
> >
> > That is, I have, say, tblMyTable with description "Data for
> > 01.01.06-01.31.06" and I have lblMyLabel on frmMyForm - and I want the
> > text
> > of lblMyLabel to be "Data for 01.01.06-01.31.06". Of course, the point of
> > this is that, say, when I add in data for Feb. 1st and update the table
> > description to "Data for 01.01.06-02.01.06", I want lblMyLabel to update
> > as
> > well.
> >
> > Is that possible?
> >
> > Thanks,
> > matt

>
>
>

Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:25 AM
Wolfgang Kais's Avatar Wolfgang Kais
Guest
 
Posts: n/a
   
   
Re: Create a label that equals a table description

Hello Matt.

"Mattantaliss" wrote:
> Is it possible to have a label on a form that references a table
> description for its text? [With Access2000]
>
> That is, I have, say, tblMyTable with description "Data for
> 01.01.06-01.31.06" and I have lblMyLabel on frmMyForm - and I
> want the text of lblMyLabel to be "Data for 01.01.06-01.31.06".
> Of course, the point of this is that, say, when I add in data for Feb.
> 1st and update the table description to "Data for 01.01.06-02.01.06",
> I want lblMyLabel to update as well.
>
> Is that possible?


Using a label, you will have to change it's caption when the form opens.
You can also use a textbox with calculated control source.
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11994
For example, using dao code, you could use a function like this for the
calculation:

Function TableDescription(TableName As String) As String
On Error Resume Next
Dim dbs As Database, tdf As TableDef
Set dbs = CurrentDb
Set tdf = dbs.TableDefs(TableName)
TableDescription = tdf.Properties("Description")
Set tdf = Nothing
Set dbs = Nothing
End Function

Then, use this as control souce for a textbox:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11994
=TableDescription("tblMyTable")

--
Regards,
Wolfgang


Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:25 AM
Jeff Boyce's Avatar Jeff Boyce
Guest
 
Posts: n/a
   
   
Re: Create a label that equals a table description

  Donate Today!  
Matt

If you are saying that you use different tables to store the same kind of
data, then my earlier response stands.

If you are using the table's Description property to document the range of
dates contained in the table, you'll have to keep updating and updating and
.... the Description.

Instead, why not do a query that returns the Maximum date in the table?

Perhaps if you provided an actual (or imaginary) example of your data and
the structure, newsgroup readers may be able to offer further suggestions.

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Mattantaliss" wrote in message
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11994
news:5E663B97-382F-45DD-9EF5-036CCBBF0931@microsoft.com...
> Hi Jeff,
>
> Actually, I have a few different tables that track various call center
> metrics, and each one has a growing date range of data. So, for example,
> tblMyTable would have 'Calls Taken' and 'AHT', and has those data for the
> dates of, say, 11.01.05-06.22.06. Then tomorrow, when I receive today's
> totals, I'd add those data in to the table and update the description
> under
> the table's properties to something like "CallsTaken/AHT Data for
> 11.01.05-06.23.06".
> What I am trying to do here is take the text of that table's description
> and
> have it be the text of a label on a form I have. Does that help clarify a
> bit?
>
> matt
>
> "Jeff Boyce" wrote:
>
>> If I take your example literally, you have one table for each month.
>> Embedding data (i.e., month-of-data) in tablenames is likely to cause you
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11994
>> no
>> end of headaches, as this design will not be able to use the Access
>> functions/features that rely on a well-normalized data structure.
>>
>> What the example seems to describe isn't a relational database, but a
>> spreadsheet.
>>
>> Could you use a single table, and add a single field to your existing
>> structure (DateOf XXXXX -- I'm not clear on what you are measuring)?
>>
>> Regards
>>
>> Jeff Boyce
>> Microsoft Office/Access MVP
>>
>>
>> "Mattantaliss" wrote in message
>> news:561BA379-DB5E-4705-9D41-56ED3F9CCA7F@microsoft.com...
>> > [I have this cross-posted at
>> > http://www.mrexcel.com/board2/viewtopic.php?t=218716 --- I'm not
>> > getting
>> > any
>> > response there yet, so am also putting up here to increase the chance
>> > of a
>> > solution]
>> >
>> > Hello,
>> >
>> > Is it possible to have a label on a form that references a table
>> > description
>> > for its text? [With Access2000]
>> >
>> > That is, I have, say, tblMyTable with description "Data for
>> > 01.01.06-01.31.06" and I have lblMyLabel on frmMyForm - and I want the
>> > text
>> > of lblMyLabel to be "Data for 01.01.06-01.31.06". Of course, the point
>> > of
>> > this is that, say, when I add in data for Feb. 1st and update the table
>> > description to "Data for 01.01.06-02.01.06", I want lblMyLabel to
>> > update
>> > as
>> > well.
>> >
>> > Is that possible?
>> >
>> > Thanks,
>> > matt

>>
>>
>>



Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
Display Modes

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On

» Active Discussions
How does Sikhi help you...
Today 14:14 PM
35 Replies, 1,017 Views
Request for assistance...
Today 09:34 AM
10 Replies, 136 Views
Occultism - Rejection in...
Today 08:44 AM
62 Replies, 2,664 Views
‘Bigoted’ Facebook...
Today 08:32 AM
1 Replies, 59 Views
Australia mulls allowing...
Today 07:30 AM
0 Replies, 45 Views
Woolwich Killing: The...
Today 06:41 AM
3 Replies, 75 Views
Panjabi
By Ishna
Today 04:40 AM
16 Replies, 314 Views
Rozana Reports (ਪੰਜਾਬੀ...
Today 03:09 AM
316 Replies, 7,651 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Today 03:00 AM
179 Replies, 4,550 Views
Transgenderism ... Right...
By Kaylee
Today 00:33 AM
25 Replies, 1,274 Views
Losing My Religion: Why...
Today 00:00 AM
14 Replies, 396 Views
Kirtan
Yesterday 21:24 PM
0 Replies, 42 Views
Keeping Amrit Vela
Yesterday 16:49 PM
12 Replies, 942 Views
Do you believe in...
Yesterday 15:08 PM
196 Replies, 4,118 Views
Black Sikhs?
Yesterday 06:33 AM
20 Replies, 5,924 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 15:00 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.88170 seconds with 32 queries
0