473,395 Members | 1,466 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,395 software developers and data experts.

Conditionally Displaying Information On a Report

Hello everyone,

I am a first time user of The Scripts (although I have taken many useful tidbits back to my desk from other discussions).

I am currently developing a database that will track sales performance against forecasts. Forecasts and buy plans are entered through forms into static tables. Actual sales data, including sales, weeks of stock, and inventory OH + OO is loaded in weekly using a macro.

The information comes out of the local ICS in a text report, which I then import and format. In order to store the new data, I strip the report through a series of queries, and make new tables with the appropriate fields added to them. The new fields are assigned a name based on the week, so I always know what the data in the future will be called.

The problem I am having is that my report shows all of the data on a quarter by quarter basis - but not all of the sales data is present. The report is designed with controls for the future fields of sales data, but as they are not in the database, I get a long series of #NAME? errors.

How can I format the report to not show the controls with a #NAME? Error?

Thanks
Oct 23 '07 #1
1 1311
Rabbit
12,516 Expert Mod 8TB
There may be a better way to design your report but you can use the On Render event and the IsError function to set the visibility of your controls.
Oct 23 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: alwayswinter | last post by:
I currently have a form where a user can enter results from a genetic test. I also have a pool of summaries that would correspond to different results that a user would enter into the form. I...
5
by: Robert | last post by:
Hello Accessors I have some reports created in Access that are very good for what they do. However, it seems to me that when you are displaying information you don't need to print out that a...
2
by: Master.Shankar | last post by:
Hello Friends, I am working on a C# windows Application which generates a crystal report . There is a subreport embedded in the main report . I want this subreport to open automatically in a new...
0
by: latin & geek via DotNetMonster.com | last post by:
hi! ok, im working on a database application. ive successfully managed to establish a relationship between two tables and display them on a datagrid, edit and add new records to them. now i...
1
by: ATroy | last post by:
Hello: I've created a strongly typed dataset which I know has rows of information but the information in the dataset isn't displayed on the report form. All that are visible are the report...
20
by: Tim Reynolds | last post by:
Team, I am developing a web service. In testing in on my enw PC, I am expecting to see exceptions thrown appear on my browser. Instead I am getting an HTTP 500 Internal Server Error page and I am...
1
by: jeffrey.bergstedt | last post by:
I'm using VBA to dynamically add rows of textboxes to a Report, then assign values to those textboxes. The values are definitely being assigned as I can MsgBox them afterward and the values come...
3
by: Naushad | last post by:
Hi All, I am trying to open the report conditionally from the dialogue box form. In the form there are three field. cboEmployees StartDate EndDate I have used these field in criteria to...
4
by: =?Utf-8?B?ZGNoMw==?= | last post by:
Is there a way to conditionally format a dateTime field to produce on result if the value is 10/31/2008 12:00 AM (user didn't enter a time) and another result if the value is 10/31/2008 5:30 PM...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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.