Gossamer Forum
Home : Products : DBMan : Customization :

Re: [macagy] Same old DB;different tasks

Quote Reply
Re: [macagy] Same old DB;different tasks In reply to
Ah. I see what you are after.

How about setting user ids in a particular format - eg prefix each with a unique identifier string: ( SPEC_john1, SPEC_sally2, SPEC_joe1, etc). Then, using a filter in the html.pl file, print only those records where the username starts with the unique string (SPEC_, in that example).

I am not sure (without testing it, or looking back over the code) whether that will work.

Or maybe you could create a hidden field for the Predefined users (you would have to add this yourself, as admin - say "$rec{'Predef'}" ) then using that as the filter in sub_html_record as:

if ($rec{'Predef'}) {
print qq|

html and fields etc.

|;

Perhaps the brains will tell us Smile.

Does any of that make sense?
-------------
David Olley
Anglo & Foreign International Limited,
http://www.firehelmets.co.uk

There are 10 types of people in the world: those who understand binary, and those who don't.
Subject Author Views Date
Thread Same old DB;different tasks macagy 3490 Nov 21, 2002, 1:08 PM
Thread Re: [macagy] Same old DB;different tasks
davidolley 3443 Nov 22, 2002, 7:57 AM
Thread Re: [davidolley] Same old DB;different tasks
macagy 3421 Nov 22, 2002, 8:45 AM
Thread Re: [macagy] Same old DB;different tasks
davidolley 3423 Nov 22, 2002, 9:51 AM
Post Re: [davidolley] Same old DB;different tasks
macagy 3400 Nov 25, 2002, 12:56 PM