Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7113 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

I have a problem where by my customer require their staff to key in "WHY U SEARCH FOR THIS RECORDS". So I created 2 tables. 1 is the main page which contains the info and the table 2 is the query page.

So after I press the submit button it will copy what I keyed in the query page and perform find at the main page.

I only can get 1 field but when I copy all the field which I need, it's not working. frown.gif The file in the query page can be randomly filled base on name only or combination of name and products. Then upon clicking submit it will copy this 2 field which I have fill in something and perform find in the main page base on that.

Attached is what I have did. Can anyone help me ? confused.gif

queryreason.zip

Posted

Your idea is good.

I changed your attachment for working.

Other way is to create relation between this tables then use fields of query in main page.And there is many other ways to do it.

queryreason.zip

Posted

What do the "XXX" means and the ;4;1?

Case (MiddleWords ( Get ( ScriptParameter );4;1 ) = "XXX";"";MiddleWords ( Get ( ScriptParameter );4;1 ))

Posted

See :D button Sibmite sends parameter:

Case ( IsEmpty ( query reason::name );"XXX";query reason::name) & " " &

Case ( IsEmpty ( query reason::address );"XXX";query reason::address)& " " &

Case ( IsEmpty ( query reason::product );"XXX";query reason::product)& " " &

Case ( IsEmpty ( query reason::price );"XXX";query reason::price)

Posted

If the word which I look for is in single word, then it is fine. For example the first customer name is ALBERT HO. Then your method can't find it. Customer name usually will be variable.

Case # 1 = ALBERT. [Your Solution Works]

Case # 2 = ALBERT HO [Not Working]

Case # 3 = ALBERT K K HO [ Not Working ]

Thanks for your time on helping me. Thanx.gif

Posted

Customer name in my solution must be only one word. If you want that this will be few words you must change script. I will try to change it.

This topic is 7113 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.