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

Display information that is based on other fields

Hello,

I have a table that stores information about some yearly forecast output,
and a form that shows the records.

Recently, my boss wants to show the data on a quarterly basis. Although the
table doesn't actually store the quarterly forecast, I have an algorithm
that can generate such a forecast.

The problem is: how to do the generation on the fly when I use the form to
show the records? The expression is not a simply expression like Y2000/4. I
need to do a few comparisons between consecutive years and then determine
how to break the yearly forecast down to quarterly forecast.

Is there any way to tell the access form to do the calculation maybe like
with vba and then show the results? I'll need to use data in the table that
are not shown on the form.

Thanks

Herbert


Nov 12 '05 #1
1 1475
Hello Herbert,

It seems that you should create a new table just to hold the quarterly data.
Empty the table before you run the report, call your routine to generate the
quarterly and modify your routine to put the results in your table, and have
the quarterly report based on this new table. The button to run the
quarterly report (I assume it will be called from some screen) will
1. Delete everything from the table left over from the last report.
2. Call the routine to generate the new data,
3. Run the report.

Hope this helps,

Gary

"Herbert Chan" <he*****@chan.com> wrote in message
news:bl*********@rain.i-cable.com...
Hello,

I have a table that stores information about some yearly forecast output,
and a form that shows the records.

Recently, my boss wants to show the data on a quarterly basis. Although the table doesn't actually store the quarterly forecast, I have an algorithm
that can generate such a forecast.

The problem is: how to do the generation on the fly when I use the form to
show the records? The expression is not a simply expression like Y2000/4. I need to do a few comparisons between consecutive years and then determine
how to break the yearly forecast down to quarterly forecast.

Is there any way to tell the access form to do the calculation maybe like
with vba and then show the results? I'll need to use data in the table that are not shown on the form.

Thanks

Herbert

Nov 12 '05 #2

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

Similar topics

4
by: dmiller23462 | last post by:
I'm trying to create a submission page for users to request PC/LAN Access....If they select "Yes" in the field asking about if they need Non Standard Software, I want several other HTML fields to...
19
by: dmiller23462 | last post by:
Hi guys....I have absolutely NO IDEA what I'm doing with Javascript but my end result is I need two text boxes to stay hidden until a particular option is selected....I've cobbled together the...
2
by: Marc | last post by:
I'm back in the Access development mode and seem to have forgotten how to do 2 things that should be simple. I have a database with a table of contacts, companies and activities. The idea is that...
5
by: Sami | last post by:
Please bear with me, and if you answer this question, please do it step by step. I am new at Access, not at all sophisticated. I am using Office XP. This will need to be read in Access for...
0
by: nandha | last post by:
H I have a doubt in VC++ regarding file reading and displaying in the GUI (Dialog I have a binary file, which contains several piece of information , i have to read the information continuously...
4
by: MCDONAMW | last post by:
First off, forgive me for being such a noob. I typically program vb.net, but I need to do some asp.net programming. I have something simple I have no idea how to do! I have an aspx page which...
0
by: Ennio-Sr | last post by:
Hi all! After a very long struggle I finally succeded in transferring my old *.dbf file and the relating *.dbt (alias memo fields) to a pg table. For the time being I put the memo field in a...
4
by: Kosmos | last post by:
Hey guys...as a relatively new programmer, I try to give back where I can. Below is the code for a useful program I believe many of you could use...just don't use the same exact code because...well I...
36
by: beebelbrox | last post by:
Hi, I am new VB programming in Access and I am requesting help with the following code. WIndows OS MSaccess 2003 This code is attached to an unbound form that will display a specific recordset...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
0
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...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.