astonmartin
New member
- Joined
- Sep 12, 2024
- Messages
- 3
- Programming Experience
- Beginner
Hello,
I have an Access database Parts.accdb with table “Parts”
In Form1 I have a PartsDatagridview which is bound with “PartsBindingSource”.
With a search I collect all parts that I need for a quotation
and transfer it to DGV3 “Unbound DGV”.
Save the collected parts of DGV3 in a .csv file because it can happen that I have to remove a part again
if the customer thinks we can postpone it until later.
Load the .csv file into DGV3 again and change the offer.
An invoice is only created once the new quotation has been confirmed.
into DGV3 again, and now the quantity per part from column “Quantity” in DGV3
from PartsDatagridview column “INGMG” and an update of the table “Parts” is to be carried out.
Table “Parts” ID = primary key, IDTeileNR = is indexed (without duplicates) as this must be unique.
Example:
PartsDatagridview column” INGMG ” stock is 8 pieces
DGV1 column “Quantity” 2 pieces
INGMG - quantity = 8 pieces
Should be possible with an sql update or am I wrong?
Can you help me, I just can't get it right.
Greetings Andi
I have an Access database Parts.accdb with table “Parts”
In Form1 I have a PartsDatagridview which is bound with “PartsBindingSource”.
With a search I collect all parts that I need for a quotation
and transfer it to DGV3 “Unbound DGV”.
Save the collected parts of DGV3 in a .csv file because it can happen that I have to remove a part again
if the customer thinks we can postpone it until later.
Load the .csv file into DGV3 again and change the offer.
An invoice is only created once the new quotation has been confirmed.
into DGV3 again, and now the quantity per part from column “Quantity” in DGV3
from PartsDatagridview column “INGMG” and an update of the table “Parts” is to be carried out.
Table “Parts” ID = primary key, IDTeileNR = is indexed (without duplicates) as this must be unique.
Example:
PartsDatagridview column” INGMG ” stock is 8 pieces
DGV1 column “Quantity” 2 pieces
INGMG - quantity = 8 pieces
Should be possible with an sql update or am I wrong?
Can you help me, I just can't get it right.
Greetings Andi