Solved Stock Transfer Relationship (1 Viewer)

ahmad_rmh

Member
Local time
Today, 17:29
Joined
Jun 26, 2022
Messages
243
Dear Experts,

I have attached the screenshot of Stock Transfer Relationship.

Kindly suggest about Relationship, Is it correct or not?

Thanks
 

Attachments

  • Capture.GIF
    Capture.GIF
    85.9 KB · Views: 100

plog

Banishment Pending
Local time
Today, 09:29
Joined
May 11, 2011
Messages
11,646
From a normalization standpoint it looks good--no huge red flags. So, now to decide if it is right is up to you. Here's a bunch of questions to help you decide :

Does it properly mimic your organization and how it handles stock? Can you put some sample data in it and have it accurately accomplish what you want? Can you get data out of the system in a sensible manner? Did you miss an edge case--sometimes X happens and that means Y should be this, etc?
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 22:29
Joined
May 7, 2009
Messages
19,245
will you not also record Who made the Transfer and Who Requested such transfer also the Reason for each transfer?
do you also record the Gatepass for this transfer.
what i am talking here is the Traceability of the item.
 

ahmad_rmh

Member
Local time
Today, 17:29
Joined
Jun 26, 2022
Messages
243
Thinking about this but still want to finish other issues.
 

ahmad_rmh

Member
Local time
Today, 17:29
Joined
Jun 26, 2022
Messages
243
Hi Arnel,

How are you?

The sub form is linked with main form cascading combobox. When i want to view sub form in datasheet view, it requests parameters.

I have attached screenshots.

Kindly suggest solution and codes.


Thanks
 

Attachments

  • Capture.GIF
    Capture.GIF
    16.3 KB · Views: 88
  • Capture1.GIF
    Capture1.GIF
    36.1 KB · Views: 83

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 22:29
Joined
May 7, 2009
Messages
19,245
you are opening your subForm as "stand alone" form.
you need to put the subform inside ReceiptMain form.
 

ahmad_rmh

Member
Local time
Today, 17:29
Joined
Jun 26, 2022
Messages
243
It's already been put in the ReceiptMain Form. But if i want to see the subform as standalone. then......
 

Attachments

  • Capture2.GIF
    Capture2.GIF
    35.8 KB · Views: 84

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 22:29
Joined
May 7, 2009
Messages
19,245
you need to create a Query from your 4 tables.
then select which fields you need to show in the query.
you can use this query to show you the records or
you can create a Form using this query.
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 10:29
Joined
Feb 19, 2002
Messages
43,275
There are several problems with the schema.
1. All the PKs are named ID. That just confuses everything.
2. Autonumbers are unique. That means that there is no point in including other columns in the PK definition. The Autonumber all by itself is the PK. If you want a separate unique index on the combination of the two FKs in the junction table, you must use the Indexes dialog. That is the only place you can define a multi-field unique index.
3. The two relationships should be shown with separate tables. Add a second instance of the warehouses table. Access will suffix the second one with _1. That allows you to clearly define the two relationships. It does not duplicate anything.
 

Users who are viewing this thread

Top Bottom