Hello!
I’m sure there’s a simple answer to this, I just can’t quite put my fingers on it…
I have a condition:
Postcode CONTAINS ________ (value inserted via action from another model)
If the value inserted via an action is blank the whole database is queried and served up (understandably given the CONTAINS logic). What I’m looking to do is have a second condition that says if inserted value from another model is blank then don’t employ the first condition. So (1 AND 2) oughta do it.
The problem is that the value being inserted via an action into the first condition is from an unsaved edit field on a different model - i.e. the field value has not yet been committed.
Any ideas would be much appreciated.
Cheers!
Louis
Question
How to insert a value from an unsaved model into a contains condition and not query the whole databa
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


