Hi guys
I'm trying to create/modify/delete the same record in two tables at the same time.
This is a sales invoice + movements of the products
Example I have these tables:
................................................
Table "OrderHeader"
Fields "OrderHeaderID, Date, CustomerID"
Here it is kept well
Table "OrderDetail"
Fields "OrderDetailID, OrderHeaderID, ProductID, Qty, Price"
Here it is kept well
Table "Movements"
Fields "MovementID, ProductID, ProductName, Stock, Price"
But in this table I don't know how to do it
regards
Schauen Sie folgendes Videos, dort wird dies gut erklärt:Datensätze in eine andere Tabelle automatisch kopieren
Thank you
It already works, at least the copy
Now I am faced with a detail is that if I modify the sales quantities, when I save it creates another new record in the Movements table, and it should only update
That's why it said, How do you add, edit and delete the same record in two tables at the same time?
Hello, any help, I have no idea how to solve this situation,
How to make it allow me to add, edit and delete the corresponding files of the sales invoice in the table of movements?
Wenn Sie das Endziel ihrer App verraten würden, z.B. Rechnung erstellen, Inventarverwaltung, Berichte usw. und mit welchem Formular die Eingabe erfolgt, wäre es viel leichter die richtigen Lösungen für Sie zu formulieren.
Ähnliche Apps verwenden eine Statusspalte, um dieses zu erreichen:
Alle untergeordneten Datensätze, wenn der übergeordnete Datensatz aktualisiert wird
Sie könnten natürlich auch eine neue Aktion auf die Bewegungstabelle erstellen und diese dann in eine gruppierte Aktion integrieren.
User | Count |
---|---|
43 | |
26 | |
25 | |
14 | |
11 |