Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Different Versions of Forms for Basic Functions on Same DB?

Quote Reply
Different Versions of Forms for Basic Functions on Same DB?
I'm working on a DB that will have a number of different purposes/users for a single data table. In the old (non-SQL) version of DBman, to accomplish this I created different ".cfg" files that refer to the same data table but use different "html.pl" files to present the same data in several different formats.

With the latest SQL version, is there a way to do something similar? It seems to me that I should be able to just create different forms that use same data table and the same functions in order to present the data in various different ways. No?

Michael Liimatta, Director of Education
Rescue College, Kansas City, Missouri USA
http://www.rescue.edu

Last edited by:

Liimatta: Dec 15, 2001, 9:40 PM
Quote Reply
Re: [Liimatta] Different Versions of Forms for Basic Functions on Same DB? In reply to
You simply have to edit the template files.

Example:

Quote:

<%if ColumnName eq 'something'%>
<%include form1.inc%>
<%endif%>
<%if ColumnName eq 'somethingelse'%>
<%include form2.inc%>
<%endif%>


Then you would have to create additional template files (the included files) that would dynamically be included based on the column checks you add in the template file.
========================================
Buh Bye!

Cheers,
Me