To get around the primary key restraint in the above link, I think you'd need to
- iterate over the db tables collection in an outer loop, ignoring the system tables
- iterate over the fields collection of a table in an inner loop, and execute a simple sql search on a field
- move to the next field and search again until you find a result
- store the 'active' table name and field, and if it seems reasonable, the value in the first field (in case it's an index that can aid in finding the record row)
- exit the inner loop, and move to the next table in the outer loop
- rinse and repeat
- present the results as a report from wherever the values were stored (table would be simplest)
Perhaps you will get a better response here, or if you search the 'net yourself, you might find someone who's already done this. Or maybe Orange's db could be easily adapted to not require that the tables have a PK field? Failing that, I've sketched out the basic steps I think you'd have to find code for.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.