PC Review


Reply
Thread Tools Rate Thread

display the value of an unbound textbox in a field within a table

 
 
fibi
Guest
Posts: n/a
 
      4th Jan 2008
I created 3 textboxs to calculate the number of business days between 2
dates. The 3rd textbox contains the value. I now want to have this value
displayed in a table field. I'm sure this is easy but I'm a complete novice
and have spent far too much time on this already. Can anyone help!
 
Reply With Quote
 
 
 
 
Steve Schapel
Guest
Posts: n/a
 
      4th Jan 2008
Fibi,

The general concept of tables is that they are for storage of data in
the background. They are not for display of data. That is what forms
and reports are for. Therefore, the appearance of the data in the
tables is not normally relevant, and the display of calculated values is
impossible. You already have the calculated value shown on your form.
If you can explain what further purpose you need it for, someone will be
able to advise the best way to go about it.

--
Steve Schapel, Microsoft Access MVP

fibi wrote:
> I created 3 textboxs to calculate the number of business days between 2
> dates. The 3rd textbox contains the value. I now want to have this value
> displayed in a table field. I'm sure this is easy but I'm a complete novice
> and have spent far too much time on this already. Can anyone help!

 
Reply With Quote
 
John W. Vinson
Guest
Posts: n/a
 
      4th Jan 2008
On Thu, 3 Jan 2008 19:43:01 -0800, fibi <(E-Mail Removed)>
wrote:

>I created 3 textboxs to calculate the number of business days between 2
>dates. The 3rd textbox contains the value. I now want to have this value
>displayed in a table field. I'm sure this is easy but I'm a complete novice
>and have spent far too much time on this already. Can anyone help!


No. You don't need to store it in the table field.

Storing derived data such as this in your table accomplishes
three things: it wastes disk space; it wastes time (almost
any calculation will be MUCH faster than a disk fetch); and
most importantly, it risks data corruption. If one of the
underlying fields is subsequently edited, you will have data
in your table WHICH IS WRONG, and no automatic way to detect
that fact.

Just redo the calculation whenever you need it, either as a
calculated field in a Query or just as you're now doing it -
in the control source of a Form or a Report textbox.

John W. Vinson [MVP]
 
Reply With Quote
 
msnews.microsoft.com
Guest
Posts: n/a
 
      4th Jan 2008

"fibi" <(E-Mail Removed)> wrote in message
news:776EDFA3-CC24-4B11-AC80-(E-Mail Removed)...
>I created 3 textboxs to calculate the number of business days between 2
> dates. The 3rd textbox contains the value. I now want to have this value
> displayed in a table field. I'm sure this is easy but I'm a complete
> novice
> and have spent far too much time on this already. Can anyone help!



 
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
Re: Linking an existing unbound textbox to a new field? Rick Brandt Microsoft Access Forms 1 28th Dec 2006 03:16 AM
Display data from another table in unbound textbox. =?Utf-8?B?UmFq?= Microsoft Access Forms 2 5th Oct 2006 10:12 PM
Showing table field in unbound field unbound field georgezx9 via AccessMonster.com Microsoft Access Forms 0 31st May 2006 11:40 PM
unbound textbox into different table =?Utf-8?B?TmV0d29ya1RyYWRl?= Microsoft Access Forms 1 2nd Mar 2006 01:29 AM
unbound textbox value into a table Steven Scaife Microsoft Access Form Coding 1 12th Mar 2004 04:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:15 AM.