Problem is (I'll explain it by sample):
Three tables in database: one Books, second Persons, third Rents;
Rents contains data of renting books by Persons.
Form Rents contains two combo's Books and Persons for choose, and two dates (for rent) dateout and dateback.
How to check if book is out, during choosing a book in combo in Form.
I emphasize that there are three types of books:
-never rented until now(new or nonpopular books); CAN BE RENTED!
-rented once, twice, more times, but back in library; CAN BE RENTED!
-rented once, twice, more times, but now out of library; CANNOT BE RENTED!
Access has no similar command like SEEK in Clipper.
I try not to use check box for Books table, which tells if book is out or in library.
I try to solve this problem by query.
Anybody has solution for it??
Thanks in advance!
[sig][/sig]
Three tables in database: one Books, second Persons, third Rents;
Rents contains data of renting books by Persons.
Form Rents contains two combo's Books and Persons for choose, and two dates (for rent) dateout and dateback.
How to check if book is out, during choosing a book in combo in Form.
I emphasize that there are three types of books:
-never rented until now(new or nonpopular books); CAN BE RENTED!
-rented once, twice, more times, but back in library; CAN BE RENTED!
-rented once, twice, more times, but now out of library; CANNOT BE RENTED!
Access has no similar command like SEEK in Clipper.
I try not to use check box for Books table, which tells if book is out or in library.
I try to solve this problem by query.
Anybody has solution for it??
Thanks in advance!
[sig][/sig]