Previous Thread
Next Thread
Print Thread
Joined: Dec 2001
Posts: 4
W
Softrak Training
Softrak Training
W Offline
Joined: Dec 2001
Posts: 4
What is the formula in GridView to give a pop-up prompt to enter text?

Joined: Mar 2002
Posts: 4,571
Adagio God
Adagio God
Joined: Mar 2002
Posts: 4,571
QueryString

An example - QUERYSTRING("Enter the Customer Number")

Joined: Dec 2001
Posts: 4
W
Softrak Training
Softrak Training
W Offline
Joined: Dec 2001
Posts: 4
Thank you Steve!

Joined: Sep 2009
Posts: 408
Edward Chris Chin-Mook
Edward Chris Chin-Mook
Joined: Sep 2009
Posts: 408
Dear Warren,

<<What is the formula in GridView to give a pop-up prompt to enter text?>>

As an addition to Steve's post, watch out for the need to also TRIM the field you want to pass the query to, else you will do the function called QUERYSTRING and your report returns empty.

My advice is to always TRIM the target FIELD.

See examples below...
>>>>>>
Example #1 - Trim

TRIM({Posting Seq}) = QUERYSTRING("ENTER Post Seq number","12345")


>>>>>>
Example #2 - Use of AND function


AND(
{Trx Date} >= Querydate("Enter Start Date YYYYMMDD", DATE(2010,01,01))
,
{Trx Date} <= Querydate("Enter End Date YYYYMMDD", DATE(2010,12,31))
,
TRIM({LCUST})= QUERYSTRING("ENTER PATIENT ID","MOOK")
)



....

>>>>>>
Explanation:
The target Field in example 1 is {Posting Seq}

Had to TRIM Field so that the data entered via QUERYSTRING("ENTER Post Seq number","12345") would be recognized by Gridview...

Use AND function to extend your pop-up prompt to enter multiple text or dates
>>>>


Edward C Chin-Mook
10 Waterloo Ave, Kingston 10, Jamaica
876-754-7444
876-754-5513
Joined: Mar 1999
Posts: 11,746
Adagio Action Team
Adagio Action Team
Joined: Mar 1999
Posts: 11,746
Thank you Edward!


Regards,
Softrak Tech Support

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
0 members (), 71 guests, and 3 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,679
Posts71,625
Members1,874
Most Online1,408
Dec 9th, 2025
November
S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Powered by UBB.threads™ PHP Forum Software 8.0.0