displaying data with relational database tables
I have a page that is displaying data from 3 tables in a database using sql joins. I have a 'members' table, a 'properties' table and a 's 'enquiry' table. I am using the 'members' table primary key as a Membership number for the user. It is also a foreign key in the 'enquiries' table. incidentally the 'properties table's primary key (property_id) is a foreign key in the 'members' table.
The problem I have is that the 'members_id' binding only displays when there is an enquiry made by the user, which will in hand display on this page. But if the user in session has not made any enquiries, the 'members_id' binding does not show.
I kind of understand that this is because of my query ( recordset ) but I am not sure where or how to adjust this.
Attached is the current page.