Hide/Show Elements based on data in dataset

Hi @shirim @shirimahler that is a great post but it doesnt help me how to hide items if there is no data present in my database. if i have a text field and there is no data, the space is empty or blank. If i have a button connected to my dataset and the dataset has no data the button is visible but doesn’t work. I can do this. but it means that on 5 pages there will be a button not working and on two it will work.