473,396 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Best form design to link Master/Child fields

I have a payments table where I enter all payments in and out. I currently
have a payments form bound to the table and enter all payment info. I then
have to go to either the InvoiceOut form or the GoodsIn form to link the
payment to the appropriate Invoice. I do this using a combo box on each form
to fkPaymentID bound to pkPaymentID in the Payments table.
I want to be able to select the invoice connected to the payment from the
Payments form. I was thinking of a tabbed form with one tab for payments out
and one for payments in. What I'd like to know is the best way to select the
correct invoice and then display invoice table fields on the payments form
for that particular payment. Most payments are for several Invoices.
Any suggestions.
The table structure is
_____________
tblPayments
------------------
pkPaymentID
PaymentNumber
PaymentDate
PaymentAmount
TransReference (check number, credit card ref etc)
fkLodgementID
fkTransTypeID
fkCustomerID

_____________
tblkupTransType
-----------------
pkTransTypeID
TransactionType
____________
tblInvoiceID
---------------
pkInvoiceID
InvoiceNumber
InvoiceDate
OrderNumber
fkCustomerID
fkPaymentID

____________
tblGoodsIn
---------------
pkGoodsIn
DeliveryDate
SupplierInvoiceNumber
fkCustomerID
fkPaymentID
John
Nov 13 '05 #1
2 1700
John,
I'd probably set up my Invoice Out form and my Goods In form so they only
showed invoices and goods associated with the current payment. This would
require some care in coding to keep the amount of data being shoved about to
a minimum since each Form_Current event in Payments could potentially fire a
requery of Invoice Out and Goods In.
--
Alan Webb
kn*******@SPAMhotmail.com
"It's not IT, it's IS"

"John" <br****@gofree.indigo.ie> wrote in message
news:d5**********@reader01.news.esat.net...
I have a payments table where I enter all payments in and out. I currently
have a payments form bound to the table and enter all payment info. I then
have to go to either the InvoiceOut form or the GoodsIn form to link the
payment to the appropriate Invoice. I do this using a combo box on each
form to fkPaymentID bound to pkPaymentID in the Payments table.
I want to be able to select the invoice connected to the payment from the
Payments form. I was thinking of a tabbed form with one tab for payments
out and one for payments in. What I'd like to know is the best way to
select the correct invoice and then display invoice table fields on the
payments form for that particular payment. Most payments are for several
Invoices.
Any suggestions.
The table structure is
_____________
tblPayments
------------------
pkPaymentID
PaymentNumber
PaymentDate
PaymentAmount
TransReference (check number, credit card ref etc)
fkLodgementID
fkTransTypeID
fkCustomerID

_____________
tblkupTransType
-----------------
pkTransTypeID
TransactionType
____________
tblInvoiceID
---------------
pkInvoiceID
InvoiceNumber
InvoiceDate
OrderNumber
fkCustomerID
fkPaymentID

____________
tblGoodsIn
---------------
pkGoodsIn
DeliveryDate
SupplierInvoiceNumber
fkCustomerID
fkPaymentID
John

Nov 13 '05 #2

"Alan Webb" <kn*******@hotSPAMmail.com> wrote in message
news:Yc********************@comcast.com...
John,
I'd probably set up my Invoice Out form and my Goods In form so they only
showed invoices and goods associated with the current payment. This would
require some care in coding to keep the amount of data being shoved about
to a minimum since each Form_Current event in Payments could potentially
fire a requery of Invoice Out and Goods In.
--


Thanks Alan
But my problem is how to select and display the invoice info from the
payments form. It is a credit business. Invoices are on the system for 30-60
days before payment. When a payment arrives, I enter the details onto the
payment form. I then want to select the invoice or invoices that the payment
is for. Also, when I write a check, I want to select the invoices I am
paying so they are taken off the monies owed list.

Any ideas appreciated

John
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: David Gunnarsson | last post by:
I'm using Access as a front-end to a MySql database, through ODBC. I have a form set up for entering information about projects and that form has, among other things, a subform where you can...
14
by: Nothing | last post by:
I have a form that has a Tab Control on it. On one of the tab control pages, there are only 3 pages, is a combo box based on a field called departments in a table. When the user selects one of...
1
by: KC | last post by:
Hello, I am using Access 2002. WinXP, Template from MS called Orders Mgmt DB. I have tweaked this DB to work for our small co. It has worked pretty well up until I made the mistake of deleting...
3
by: John Welch | last post by:
I'm developing my first multi-user application, and have been reading a lot about the basics of multi-user optimization (ADH vol 2, this newsgroup's archives, etc.). I've decided to go with a file...
6
by: MLH | last post by:
When the vehicle entry form (frmVehicleEntryForm) first opens, the additional owner SubForm control (frmAddnlOwnrListSubForm) is enabled. You can click on it and it will accept the focus. But after...
3
by: Robert McEuen | last post by:
Using A2K3, Windows XP I'm handling a many-to-many relationship with a linking table structure as follows (irrelevant fields omitted): tblIssue PK_IssueID (autonumber, primary key) IssueName...
2
by: darnel | last post by:
I have 4 hierarchical tables and want to display it all together as a form and 3 subforms, when subform displays (and allow to add/edit) only relevant items from each superior subform. Tables are:...
3
by: mapster | last post by:
Greetings All, just started out leaning relational DB and access a few weeks ago, and seems that i need some pointers as i can not find any obvious answers (obvious to me). If any one can answer...
12
by: banderson | last post by:
Hello all, I am hoping that you can help me with a problem that has occurred numerous times on various forms in the two databases that I am working on. When I first add a subform to a form linking...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.