473,402 Members | 2,046 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,402 software developers and data experts.

Transaction table to update multiple tables?

43 32bit
INTRODUCTION:
I have a conceptual question regarding a sports card database I am STILL planning to build.

PROJECT BACKGROUND:
I have gathered (with the help of other kind members of this forum) that I will need to have a something like a tblTransactions to update my tblCards (via a query I guess) which holds all my unique sports cards. https://bytes.com/topic/access/answe...te-stock-table


[tblTransactions]
TransID: AutoNumber PK
TransDate: Date
ContactType: (supplier, customer, both)
ContactName: fk from tblContacts
Transaction Type: (BUY, SELL)

QUESTION BACKGROUND:
My questions comes because in addition to my tblCards, which I have screen shots of in the link above, I would also like to have a table to store bulk "wax" products like card packs and card boxes that I may buy and sell.

So instead of a collector needing me to search for:
Card - (1989|Upper Deck|#1|Ken Griffey Jr|Green|Autograph|Refractor)

They may want this:
Box - (1989|Upper Deck|Baseball|Retail) from a table like below:

[tblWaxCards]
ProdID: AutoN PK
Qty: 1
Year: 1989
Product: UpperDeck
Sport: Baseball
Type: (pack, hobby box, retail box)
# of Packs: 36
Cards/pk: 15

QUESTION (finally!):
Before I research how to actually accomplish this my question is, is it best practice or acceptable to have a tblTransactions to update one of several different Stock Tables based on I guess some update query with different inputs to distinguish which table is to be updated or should I try to combine both stock tables into one tblProducts?

Please visit my link above to understand how different tblWaxCards and tblCards are so you can understand me not wanting to combine them into one stock table.

I definitely appreciate any advice given as I am an Access infant and still learning.
Jun 1 '19 #1
3 1382
zmbd
5,501 Expert Mod 4TB
Could you put the packs in the table cards?
Add to table card types "Hobby Box" etc...
Jun 2 '19 #2
cmo187265
43 32bit
Thank a ton for your reply.

I could add a field "Types" to tblCards with field values to be Singles, Hobby Box, Retail Box, Fat Pack, etc...and maybe a quantity field.

There would necessarily be a lot of missing data in other fields that are specific to individual cards like Card #, Card Attributes, PlayerName, etc. if the record were for box of cards instead of an individual cards.

Is this acceptable? I didn't think I was supposed to have missing data in a record...
Jun 3 '19 #3
NeoPa
32,556 Expert Mod 16PB
Having missing data, in itself, is not a problem. It's an oft-used technique to handle flexibility of data.

It's not the final answer on data design, but neither is it something to be too afraid of.
Jun 3 '19 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: vj | last post by:
How to Update multiple tables in a single SQL update Statement? Is there any way out? vj.
0
by: PMB | last post by:
Thank you in advance for any and all assistance. I have a small program that I'm tracking accounts rec. and I want to keep data, stored by day and have a month end. I have a form called...
2
by: PMB | last post by:
Thank you in advance for any and all assistance. I'm running a form/table that tracks transactions and I want to update a daily and monthly table at the end of each transaction based on the...
1
by: CS | last post by:
I need to update multiple tables from one form using a command button. The info from the different text boxes should then go into the tables. Can someone help me with some example code on how to...
0
by: Remy | last post by:
Hi I have an ASP.NET 2.0 DetailView that displays data that has been joined over more than one table. Is it somehow possible to then also Update Data over multiple Tables without using a Stored...
9
by: sliderip | last post by:
In Access 2003, is it possible to delete multiple tables using a QUERY? I want to delete multiple tables but i guess i cant use wildcards with DROP i..e DROP TABLE mytable1% or something like...
5
by: Proaccesspro | last post by:
I have an Access database that contains multiple tables. How can I update a field in all of the tables with a search and replace funtion? In other words, one of the forms has a button that will...
4
by: dstorms | last post by:
I'm trying to run an update query on multiple tables, and since Access doesn't allow me to update tables from a union query, I'm writing a module as a workaround. So I've set up a temporary recordest...
2
by: Presto | last post by:
I am making a front end mdb so users can enter new members data. I can then import this into the master database on the backend and erase the existing info on the front end to keep the data...
1
by: DMAGIC448 | last post by:
I am trying to figure out how to add records to multiple tables w/ one form. I am making a database for a Home DayCare and I want to add/update records for 5 tables (Student info, Parent 1 Info,...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.