Hello,
I'm having trouble with the searchbar.
On my first gallery it works perfectly but in the second it bugs.
It's probably due to the fact that in the "items" parameter is already the data source "Consultation" and that it interferes with the second formula which creates a bug.
I don't know how to fix this?
Thank you in advance for your help
Finally I was able to find a solution thanks to this post:
I thank you for the time you've given me!
have a nice day
In the first gallery, the search bar allows me to search for patients and in the second gallery it allows me to search for consultations,
I use two different search bars, one for each gallery.
each box represents a consultation
@Anonymous
What would you like the search box + 2nd gallery to do? I don't understand what your goal is here. Sorry.
Are you using the same search box for two different galleries here?
Hi @mdevaney ,
It's the first time I've used a gif in the forum, I thought it would be useful in this case but apparently it's not.
What am I trying to do? Well I have a gallery and I'd like to search for a specific patient by name or date using the search bar.
That's good to know I didn't know I could write a maximum of one line of code in the items property.
and so I understand why on my first gallery in "items" I don't need to specify the source of data for it to display the information and so it allows me to put my formula: Search(Patient;searchbox.Text; "cr796_name"; "cr796_first name")
except that in the second gallery it's not the case, since in "items" there is the data source "consultation" and knowing that I can put only one line of code, I'm supposed to do how ?
@Anonymous
You can't supply more than one line of code in the Items property. That's why you are receiving an error. I don't understand why you are trying to do this... please explain.
Suggest you copy + paste your code into the forums and explain what you are trying to do. Trying to watch a GIF to and copy that information into a notepad is tough for a forum member to do because GIFs don't have any pause button.
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."