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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Invoice Report



 
 
Thread Tools Display Modes
  #1  
Old December 12th, 2006, 12:47 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.reports
SG
external usenet poster
 
Posts: 50
Default Invoice Report

I have a form called frminvoice on this form I have the following three text
boxes....

SUB Total , Control source
=IIf(IsNull([Total]),Null,IIf(Nz(VAT.Column(1),0)=0,Null,CCur(Round([Total]/(VAT.Column(1))))))

VAT Total , Control Source =IIf(IsNull([Sub
Total]),Null,nz([Total],0)-nz([Sub Total],0))

Total, Control Source =InvoiceSubForm.Form!OrderSubtotal

This work well on the form but I have an invoice report but I can not get
the above to work, any suggestions?

Many Thanks


S


  #2  
Old December 12th, 2006, 02:09 AM posted to microsoft.public.access.forms,microsoft.public.access.formscoding,microsoft.public.access.reports
Damian S
external usenet poster
 
Posts: 741
Default Invoice Report

HI SG,

If they are giving you the results you expect, perhaps you could include
them in a query to drive your report, then just refer to the fields as per
normal?

Damian.

"SG" wrote:

I have a form called frminvoice on this form I have the following three text
boxes....

SUB Total , Control source
=IIf(IsNull([Total]),Null,IIf(Nz(VAT.Column(1),0)=0,Null,CCur(Round([Total]/(VAT.Column(1))))))

VAT Total , Control Source =IIf(IsNull([Sub
Total]),Null,nz([Total],0)-nz([Sub Total],0))

Total, Control Source =InvoiceSubForm.Form!OrderSubtotal

This work well on the form but I have an invoice report but I can not get
the above to work, any suggestions?

Many Thanks


S



 




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:05 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.