I know why it isn't working. (Duh! )
&switch_to_users;
%rec3 = &get_record($rec{'Userid'});
&switch_to_bikereviews;
if ($rec3{'Userid'}) {
print qq|link to the user|;
}
I was trying to be more "generic" with the code, but what I had won't work!
JPD
http://www.jpdeni.com/dbman/
Code:
&switch_to_users;
%rec3 = &get_record($rec{'Userid'});
&switch_to_bikereviews;
if ($rec3{'Userid'}) {
print qq|link to the user|;
}
JPD
http://www.jpdeni.com/dbman/