Ok, Is it possible, to have a radio select field in the record, that if set to no, does not allow the default user to see that record?
Bascially, if i say i dont want the default user to see certain records, what do i need to do to make it so I just have to check a field 'no' in the database?
I thought about an if statment in html_record_form. That would keep them from seeing a certain record when it tried to print out. Would that work?
I guess it would need to look like
if (($uid = default) & ($rec{'View'} = 'No')) {
print qq|
You are not authorized to view this record. |;
}
Does that look right? the syntax?
Bascially, if i say i dont want the default user to see certain records, what do i need to do to make it so I just have to check a field 'no' in the database?
I thought about an if statment in html_record_form. That would keep them from seeing a certain record when it tried to print out. Would that work?
I guess it would need to look like
if (($uid = default) & ($rec{'View'} = 'No')) {
print qq|
You are not authorized to view this record. |;
}
Does that look right? the syntax?