PC Review


Reply
Thread Tools Rate Thread

Data missing from Report

 
 
Simon
Guest
Posts: n/a
 
      15th Oct 2006
When i enter data onto a form then click the button on the form to open
up a report do dispaly the information of the form it does not display
it.
The only way i can get it to do it is by closing the form once i have
entereed data this way it updates data and then reopen the form.

If there a way it can up date teh data as i click the view reoprt button

 
Reply With Quote
 
 
 
 
Rick Brandt
Guest
Posts: n/a
 
      15th Oct 2006
Simon wrote:
> When i enter data onto a form then click the button on the form to
> open up a report do dispaly the information of the form it does not
> display it.
> The only way i can get it to do it is by closing the form once i have
> entereed data this way it updates data and then reopen the form.
>
> If there a way it can up date teh data as i click the view reoprt
> button


The data has not yet been saved so the report can't see it. In the code that
opens your report add a line to save the record first.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


 
Reply With Quote
 
John Vinson
Guest
Posts: n/a
 
      15th Oct 2006
On 15 Oct 2006 13:00:24 -0700, "Simon" <(E-Mail Removed)> wrote:

>If there a way it can up date teh data as i click the view reoprt button


Sure. Put a line in the VBA code which opens the report (in the Click
event of the view report button), before the line saying OpenReport:

DoCmd.RunCommand acCmdSaveRecord

John W. Vinson[MVP]
 
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
Missing data in report SwEdIsH_OfFiCe_UsEr Microsoft Access Queries 5 23rd Jun 2009 12:24 PM
Getting missing data from one report into another report... vlookupabyss Microsoft Excel Misc 3 8th Jan 2008 03:26 PM
report is using a query & report is sometimes missing data =?Utf-8?B?V2FuZXR0YSBNZW1iZXJGb3Jt?= Microsoft Access Reports 1 15th Nov 2006 05:13 AM
Report loads fine with all data displayed. Print report and data is missing just an empty shell Alex Richards Microsoft Access Reports 0 5th Jan 2004 11:57 AM
Data missing in report Patrick Microsoft Access Reports 0 9th Jul 2003 03:30 PM


Features
 

Advertising
 

Newsgroups
 


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