Hi everyone,
I have 3 tables that represent 3 levels.
1. Ordernumber and other general info
2. Ordernumber, article, price and other info related to product
3. Ordernumber, article, color, s,m,L, etc. and other details
I have made a parent and child form based on queries of table 1 and 2. On this parent/child form I am trying to add a button next to each record of the child form( from table 2) saying colors/sizes, which opens table 3's form but only showing the records based on ordernumber and article of table 2 form. And of course, when i add new records throught that form, it automatically stores it under a
Specific article and order
I am not sure if i explained my self well.
I found this vba code online, and reworded it using my field names but it doesnt work.
DoCmd.OpenForm FormName:="frmOrdineDetragli", _
WhereCondition:="ART= """ & Me.ART & """ " & _
"AND Ordine = """ & Me.Ordine & """""
When i had only condition say ART, i can easily use the Macro builder. But it shows all records that contain that ART(article), regardless of order number.
Thanks !!!
I have 3 tables that represent 3 levels.
1. Ordernumber and other general info
2. Ordernumber, article, price and other info related to product
3. Ordernumber, article, color, s,m,L, etc. and other details
I have made a parent and child form based on queries of table 1 and 2. On this parent/child form I am trying to add a button next to each record of the child form( from table 2) saying colors/sizes, which opens table 3's form but only showing the records based on ordernumber and article of table 2 form. And of course, when i add new records throught that form, it automatically stores it under a
Specific article and order
I am not sure if i explained my self well.
I found this vba code online, and reworded it using my field names but it doesnt work.
DoCmd.OpenForm FormName:="frmOrdineDetragli", _
WhereCondition:="ART= """ & Me.ART & """ " & _
"AND Ordine = """ & Me.Ordine & """""
When i had only condition say ART, i can easily use the Macro builder. But it shows all records that contain that ART(article), regardless of order number.
Thanks !!!