Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I need to catch when a search fails to return any new data in QV9.
In a button i have the action 'Select in field', with e.g
Search TestField1
For text *Hello World*
If the raw data does'nt match my search values, then there is no selections made = makes sense.
However i need to tell the user that the search did'nt work.
I thought about counting the rows before and after the search, and comparing them. But the action button finishs before the count has completed, so i allways get the old wrong values.
Any ideas?
Thanks,
Peter.
Hello Everyone,
Just an update to this post of mine...
I tryed to use 2 variables to count the number of rows before and after my selections had been made by the 'Select in field' action.
Something like
old_value=count(ID_Field)
select in field etc etc
new_value=count(ID_Field)
My 2 variables should have different values but we've found that QV completes the actions in a different order, where the 'select in field' finishs later (msecs later).
At present i'm looking into adding a pause or wait command so the final count completes with the new correct values.
Peter.
hi peter, recently i met some similiar question with yours. U have answer for this? It would be great if you could share with me. thanks