473,443 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Information not showing on report

50
I have a form that I created which has field called date. I also have another field called followup. In the follow up field i entered an expression to autmatically insert a date three month from what is contained in the date field. I am using this code =DateAdd("m",3,[Date]). My issue is I have created a report called followup so I can pull each records followup date. The problem is on this report its does not show the information contained in the follow up field I am kind of stumped why it is not working. I used this same function in access 2003. I am now using 2007 and it seems like it is not working. Any information would be appreciated if you need more info just let me know.
Aug 26 '07 #1
6 1728
Scott Price
1,384 Expert 1GB
Many of us here are successfully resisting the urge to upgrade to A2007 at least until the first (for me, it'll be the second) service pack comes out to fix known and hitherto undiscovered bugs.

Here is an excellent link to Allen Browne's website with a discussion of the good, the bad, the ugly and the bugs... I don't know whether what you are experiencing is a bug per se, or just an incompatibility issue, but if it works in A2003, and not in A2007 it has to be one or the other.

http://allenbrowne.com/Access2007.html#Bugs

Regards,
Scott
Aug 26 '07 #2
ali3n8
50
That was the issue, didnt find any info in it. But once I saved my db in 2003 format and then opened it on my machine that actually has access 2003 the dates appeared.
Aug 26 '07 #3
missinglinq
3,532 Expert 2GB
Also, if your field is actually named Date you need to change it to something else such as OriginalDate or DDate or anything but Date! Sooner or later it's going to cause you grief. Date is a reserved word and a very dangerous one to mess with! Read Reserved Words in Access, Especially Date and Time to learn why.

Linq ;0)>
Aug 26 '07 #4
Scott Price
1,384 Expert 1GB
Good catch, Linq! Just musing... I'm wondering if this has something to do with the original inability of A2007 to show the dateadd?? Ali3n8: an interesting experiment would be to rename the field to something like MyDate, then try running it through A2007 again.

Regards,
Scott
Aug 26 '07 #5
missinglinq
3,532 Expert 2GB
Another thought: missing reference? I don't know what library DateDiff() resides in, do you?

Linq ;0)>
Aug 27 '07 #6
Scott Price
1,384 Expert 1GB
Another thought: missing reference? I don't know what library DateDiff() resides in, do you?

Linq ;0)>
It's part of the Visual Basic Runtime Library for VB6, and I'm sure it's part of the Visual Basic for Applications Library for VBA in A2003.

A2007's advertising says that it works seamlessly with earlier VBA references, however it does have a new Jet DB engine, and does claim also to work with SQL Server...

It is interesting in researching this a little more, the DateAdd() function of VBA can be 'upsized' to the DATEADD() function in SQL Server, with the caveat that they aren't exactly equivalent. It appears the differences have to do with the sub-references rather than the actual function: i.e. the following are supposed to be essquivalence: SQL Server:
Expand|Select|Wrap|Line Numbers
  1. DATEADD(hh,5,getdate()) 
Access VBA:
Expand|Select|Wrap|Line Numbers
  1. DATEADD(hh,5,Date())
I'm now wondering if A2007 is trying to convert the DateAdd of VBA to the DATEADD of SQL Server, and in doing so is mis-reading the arguments of the function?

Regards,
Scott
Aug 27 '07 #7

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

Similar topics

5
by: ssp | last post by:
Dear all, I'm dealing with a very tricky problem and can't seem to find the answer with google. the problem is: i want to store huge data (binaries) inside a mysql databases blob - to later...
2
by: Simon Pleasants | last post by:
Am something of a newbie at this, so please bear with any stupid questions. I have created a database to track shipments that we import. The information is stored in a table and I have created...
3
by: RC | last post by:
I can't quite grasp the concept of creating custom reports depending upon what options a user picks on a Form. For example, the user clicks on a "Print Reports" button and a Form pops up. On the...
0
by: Sridhar | last post by:
Hi, I have a Crystal Report which has two sub reports in it. When I try to view this Crystal Report in my local computer, it is showing data for sub reports also. But when I deploy it to the web...
6
waynetheengineer
by: waynetheengineer | last post by:
Hi all, I have a database that has two tables: 1 table shows different types of animals: e.g. rabbits, bears, birds, etc. a 2nd table that links to each animal type that has individual animals...
0
by: lucky33 | last post by:
I have a form that I am using for the customer to select what item they would like to rent and for how long which displays a different price depending on what they select. I need the price...
11
by: radink | last post by:
Hey All, I have a report that I would like to show a word on based on if a field is checked in a form. For example. The form has a check box called Fee. If that is checked, I want the word Paid...
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...
1
by: eogyamfi | last post by:
i have subreport within the main report. The grand total for the main report is showing on the report. The grandtotal for the subreport is not showing even though on the subreport itself it shows...
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
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...
1
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.