All,
I have a form called books that shows the book information and a lookup field that shows who has the book checked out. On the side i have command buttons for ADD, DELETE, NEXT RECORD, PREVIOUS RECORD nad CLOSE. I want to create a greyed out DELETE button so that the record cannot be deleted if the book is checked out (data in the chk'd out lookup field). if the field is empty or indicates an "in house" condition then the delete button is active. How would i do this and any help with the VBA code would be appreciated.
Thanks
I have a form called books that shows the book information and a lookup field that shows who has the book checked out. On the side i have command buttons for ADD, DELETE, NEXT RECORD, PREVIOUS RECORD nad CLOSE. I want to create a greyed out DELETE button so that the record cannot be deleted if the book is checked out (data in the chk'd out lookup field). if the field is empty or indicates an "in house" condition then the delete button is active. How would i do this and any help with the VBA code would be appreciated.
Thanks
Comment