472,109 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Is it Possible create a sub-field or a table from a field ???

Scenario - (while transporting live chicken from supplier to wholesale customer)chickens will be loaded into boxes then to the truck, so each box has a different quantity of chickens Ex- Box 1 - 11 Chickens
Box 2 - 16 Chickens etc..
each an every box must be entered individually not as whole quantity, So is it possible to have field where the total boxes will be mentioned and within that field to have the record of individual boxes??
May 21 '20 #1
5 1851
Luuk
1,047 Expert 1GB
"So is it possible to have field where the total boxes will be mentioned and within that field to have the record of individual boxes??"

No, that is not possible, because then you will be storing two values in 1 field.
1) where the total boxes will be mentioned
2) have the record of individual boxes??
May 21 '20 #2
Thanks alot Luuk!!!

So any suggestion to do that?
May 21 '20 #3
twinnyfo
3,653 Expert Mod 2GB
I would have a table (tblBoxes) that simply keeps track of each box on a truck: BoxID, TruckID, Chickens.

Then you count how many BoxID's for each truck, and get a sum Chickens for your total number of chickens on each truck.

Hope that hepps!
May 21 '20 #4
NeoPa
32,497 Expert Mod 16PB
So would I ;-)

The counting would be done in a Query of course.
May 22 '20 #5
k thanks a lot guys!
May 22 '20 #6

Post your reply

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

Similar topics

3 posts views Thread by prabhukumarasamy | last post: by
3 posts views Thread by vonclausowitz | last post: by
reply views Thread by leo001 | last post: by

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.