Gossamer Forum
Home : Products : DBMan : Discussions :

Define Report_Fields

Quote Reply
Define Report_Fields
As a Newbie to CGI/DBMAN I've been reading through a lot of msgs concerning the generating of Search-Result-pages containing not all of the fields in the database. The way of creating custom search_html_routines in the .pl file is a solution to me, but it won't autogenerate, but thinking about it, I had an idea...

My goal is to show not all of the fields from the stored records to the guests using the default user (most propably a common thingie). The capability of a xxx.cgi which could be called using SSI-includes would give me the possibility of generating reports by defining the fields and the criteria to display in the cgi-call, without giving the guest a chance of finding out about my db/db-structure like:

http://mywebressource.com/cgi-bin/dbman/xxx.cgi?db=abc&uid=default&view_records=1&fieldname=searchcriteria&reportFields=157

I am not sure wether it would be possible to enhance the db.cgi by a &view_records_by_fields, I am only shure, I am not able to do it ;)

With the &reportfields=157 I advice to display fields 1, 5, and 7 as defined in abc.cfg even if the searchcriteria-field to compare with might be field number "12"

Get the idea of it? Am I totally crazy or overlooking an even easier solution?

Thanx ...

Subject Author Views Date
Thread Define Report_Fields Peebee 2373 Jan 6, 2001, 5:54 AM
Post Re: Define Report_Fields
LoisC 2283 Jan 6, 2001, 9:26 AM