I am working with several databases. They all have the same stucture of records. I would like searches in different databases to be transparent to the users. What determines which database is to be used is a specific field. Say it is called "vehicle" and that it can take 3 values, "a car" "a bike" "a plane". I want to change the structure of dbman in order to detect where to search. What I have thought is to eliminate the hidden field that passes the db_setup on the html.pl file. Then I would have to modify the db.cgi file in order to choose between car.db, bike.db or plane.db depending on what has been chosen. This is what I don't know how to write exactly.
One more thing. Is there a sub to get data from a certain record. like get_record but only to get the data from one field.
One more thing. Is there a sub to get data from a certain record. like get_record but only to get the data from one field.