Skip to main content
Topic: show record based on user table info (Read 1364 times) previous topic - next topic

show record based on user table info

Hi
Id like to display a record from Table A that has the field company. company is also a field in the user table.
Ive seen the global constants like USER_ID which i can use in a sql query but how do i do the same with alternate field of the usertable as these are not constants as far as i know. Or can i just do USER_company as argument in the query ?