Hello all, I'm looking for some guidance. I have a form that is tied to table A that contains the following fields: Store, sku and comment.
In my form, I have a list box that is tied to Table b that contains a number of fields including Store, Sku, description, units, cost, ect..
I would like my list box to look up a record in table A based on Store AND sku so that I can add comments. I also want that when I select a record in the list box and that there isn't a corresponding Store and SKU in Table A that the fields remain empty until I click on add comment button.
hopefully I made myself clear above. So far I'm able to lookup based on sku only and when there's isn;t a record, it seems to default to the first sku and comment previously entered. Also, when I click on the Add Comment button, I have it copying the store and sku from Table b onto Table A corresponding fields. This i working great.
any help is appreaciated.
thanks
Martin
In my form, I have a list box that is tied to Table b that contains a number of fields including Store, Sku, description, units, cost, ect..
I would like my list box to look up a record in table A based on Store AND sku so that I can add comments. I also want that when I select a record in the list box and that there isn't a corresponding Store and SKU in Table A that the fields remain empty until I click on add comment button.
hopefully I made myself clear above. So far I'm able to lookup based on sku only and when there's isn;t a record, it seems to default to the first sku and comment previously entered. Also, when I click on the Add Comment button, I have it copying the store and sku from Table b onto Table A corresponding fields. This i working great.
any help is appreaciated.
thanks
Martin