i have worked with dbman alot and really i have stumbled upon somethign that i have no idea how to do.
Here is what i want to do. I have a set of codes that have a value, example
$CODE1 = 'MY1VALUE';
$CODE2 = 'MY2VALUE';
$CODE3 = 'MY3VALUE';
$CODE4 = 'MY4VALUE';
i have these set in the cfg file with all the other variables.
then i want dbman to be able to match up values as needed. example (not actual code just the idea of it)
if $rec('CAR') eq $CODE1 then spit out the value of $CODE1. i got it to read the variables fromt he cfg file, but when i use this logical i got $CODE1 spit out on the view_success
any ideas? of a better way to have these value of the specific codes actually be converted when being spit out? without having the if command itself having the value.
many thanks,
Here is what i want to do. I have a set of codes that have a value, example
$CODE1 = 'MY1VALUE';
$CODE2 = 'MY2VALUE';
$CODE3 = 'MY3VALUE';
$CODE4 = 'MY4VALUE';
i have these set in the cfg file with all the other variables.
then i want dbman to be able to match up values as needed. example (not actual code just the idea of it)
if $rec('CAR') eq $CODE1 then spit out the value of $CODE1. i got it to read the variables fromt he cfg file, but when i use this logical i got $CODE1 spit out on the view_success
any ideas? of a better way to have these value of the specific codes actually be converted when being spit out? without having the if command itself having the value.
many thanks,