Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 11th, 2005, 09:05 AM
Authorized User
 
Join Date: Jul 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access Forms Please Help!!!!!!!!!!!!

Hello,

I need help with carrying information in one field on an invoice to the same field on the next invoice. Their are multiple contractors in my DB, each contractor may have one or many invoices. Each contractor had the option to pay in EURO, GBP or USD. This is how it is set up on the contractor informaion screen I choose the currency information by choosing a checkbox(EURO or GBP and USD is the default). This information is then displayed on the invoice. Now this is my problem the currency inforamtion shows up on the 1st invoice but if the contractor has several invoices the selected currency does not show. I've tried several things to make this work with no success.

This the current code I have.
Currently I'm storing the currency information in the contract tables.

'If EURO is chcked display EURO on invoice form
If Forms![Invoice Scanner].EURO = True Then
   Forms![Invoice Scanner]!InvSub.Form!CurPayIn = "EURO"

'If GBP is checked othen display GBP on nnvoice
ElseIf Forms![Invoice Scanner].GBP = True Then
       Forms![Invoice Scanner]!InvSub.Form!CurPayIn = "GBP"

'If GBP and EURO = false then display U.S. dollars
Else
Forms![Invoice Scanner]!InvSub.Form!CurPayIn = "U.S."

End If


Please Help!!!!!!!!!!!!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Forms Keith Smith Access VBA 4 January 12th, 2008 10:35 AM
access other Forms Controls angelboy C# 2005 1 September 9th, 2007 10:35 AM
access autoformat on forms Vince_421 Access 3 April 6th, 2007 06:54 AM
access forms mhall5 Access 7 January 19th, 2006 11:37 PM
Access Forms sweet4511 Access VBA 1 July 22nd, 2005 01:21 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.