A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

access



 
 
Thread Tools Display Modes
  #1  
Old December 27th, 2007, 02:32 AM posted to microsoft.public.access.tablesdbdesign
Rocker
external usenet poster
 
Posts: 2
Default access

I am having problems with my invoice report. the report is based on a
selected query and when i add a new customer to the tables that is in the
query, it does'nt get update in the query. so when i go to print out the
invoice report i can't find the new entry i put in the the table. Please help
me
--
Rocker-HarlemsBoy
  #2  
Old December 27th, 2007, 02:37 AM posted to microsoft.public.access.tablesdbdesign
Jeanette Cunningham
external usenet poster
 
Posts: 2,190
Default access

Hi,
can post the names of your tables, their primary keys and foreign keys and
the relationsips between the tables. Without some knowledge of your database
it's very hard for us to make any suggestions.

Jeanette Cunningham

"rocker" wrote in message
...
I am having problems with my invoice report. the report is based on a
selected query and when i add a new customer to the tables that is in the
query, it does'nt get update in the query. so when i go to print out the
invoice report i can't find the new entry i put in the the table. Please
help
me
--
Rocker-HarlemsBoy



  #3  
Old December 27th, 2007, 05:23 PM posted to microsoft.public.access.tablesdbdesign
Klatuu
external usenet poster
 
Posts: 7,074
Default access

Queries do not hold any data. They only manipulate or retrieve data in
tables. If your customer is not showing up in the query, it is because the
new customer record is not yet in the table. Be sure you are saving the
record to the table before running the report. In the code for the button
that runs the report, add this at the begining of the procedu

If Me.Dirty Then
Me.Dirty = False
End If
--
Dave Hargis, Microsoft Access MVP


"rocker" wrote:

I am having problems with my invoice report. the report is based on a
selected query and when i add a new customer to the tables that is in the
query, it does'nt get update in the query. so when i go to print out the
invoice report i can't find the new entry i put in the the table. Please help
me
--
Rocker-HarlemsBoy

  #4  
Old December 28th, 2007, 12:01 AM posted to microsoft.public.access.tablesdbdesign
Armen Stein
external usenet poster
 
Posts: 507
Default access

On Thu, 27 Dec 2007 09:23:01 -0800, Klatuu
wrote:

Queries do not hold any data. They only manipulate or retrieve data in
tables. If your customer is not showing up in the query, it is because the
new customer record is not yet in the table. Be sure you are saving the
record to the table before running the report. In the code for the button
that runs the report, add this at the begining of the procedu

If Me.Dirty Then
Me.Dirty = False
End If


Another common error is that your query uses inner joins (the lines
connecting the tables don't have arrowheads). In this case, your
customer might be in the table, but if there's no matching record in
the other table, they will not appear in the query.

One solution is to change your join properties so that all Customers
are displayed (the arrow will point away from the Customer table.)

Armen Stein
Microsoft Access MVP
www.JStreetTech.com

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:14 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.