I have a user database where my users register as either landlords or tenants. This part I have working smoothly.
Now I need landlords to be able to upload their properties, and all the details that go with it. The part that I am struggling to get my head around is:
I assume that it would be best for me to create a “Properties” database, but then I would need to link the Properties database to my users, as Landlord A’s properties need to be connected to landlord A.
Then I need to be able to display ALL properties on the system in the same place so that the tenants can brows properties.
Yes, you need to have a ‘properties’ database type and have a landlord attached to it, which would be your user.
Yes, you would use a repeating group to display all properties to everyone so that the tenants can browse them. Double check your privacy settings so you are only exposing the information that you want to though.
Does that help at all? Let me know if you have more questions.
When the user creates the property, save the current user to that property under a field called ‘landlord’ or something like that. Does that make sense?