adiemus2001
Technical User
Hey everyone.
I have been given the task of creating a Access 2K data base that involves some tasks that I feel out of my depth with but as I want to learn, I intend to keep trying.
My problem sounds simple on paper but suspect it is not the case when it comes to making it happen.
I have a list box on a form into which a user enters the name of a product. I have managed to set up a code using the "OnNotInList" event of the box so that if the product type is not in the list, the user gets asked if they wish to add it as a new product, then they just go to each
of the fields and enter the information that pertain to that new product - that works just fine.
But, I also need to have the reverse happen so that when the user has entered the product type and hits the return key, if the product type *IS* in the list, a further list box pops up with a list of simular products and all they have to do is select the one they want and access2k fills the rest of the product information in for them from the existing record.
Sounds easy doesn't it but you guys know better than I that it is not. Any pointers or suggestions would be great and if it would help, I can send a small copy of the DB so you can see what I need to do. But please remember that I am a relative newbie to Access and need things in laymans terms.
My grateful thanks
Kenny Jaymes
I have been given the task of creating a Access 2K data base that involves some tasks that I feel out of my depth with but as I want to learn, I intend to keep trying.
My problem sounds simple on paper but suspect it is not the case when it comes to making it happen.
I have a list box on a form into which a user enters the name of a product. I have managed to set up a code using the "OnNotInList" event of the box so that if the product type is not in the list, the user gets asked if they wish to add it as a new product, then they just go to each
of the fields and enter the information that pertain to that new product - that works just fine.
But, I also need to have the reverse happen so that when the user has entered the product type and hits the return key, if the product type *IS* in the list, a further list box pops up with a list of simular products and all they have to do is select the one they want and access2k fills the rest of the product information in for them from the existing record.
Sounds easy doesn't it but you guys know better than I that it is not. Any pointers or suggestions would be great and if it would help, I can send a small copy of the DB so you can see what I need to do. But please remember that I am a relative newbie to Access and need things in laymans terms.
My grateful thanks
Kenny Jaymes