Topic Options
#31645 - 04/17/12 12:35 PM GridView User Input
CarlosC Offline
Adagio Fan

Registered: 03/21/08
Posts: 31
Loc: North Bay, ON, Canada
Hello,

Currently to bring up all of an individual's records, using their contact number, a user would go into the filter and change the number in there.
I was wondering if there was a way within GridView to create a dialog box so when the workspace is opened, the box pops up and asks the user for parameters.
This would save many headaches of having a user deal with the syntax within a filter.

Thanks.

Top
#31647 - 04/17/12 12:54 PM Re: GridView User Input [Re: CarlosC]
Bruce Gardner Offline
Adagio Wizard

Registered: 06/15/04
Posts: 3615
Loc: Toronto ON, Canada
Carlos:
You can use a function called QueryString(). Here is the description from the GridView help file.

"This function prompts the user to enter a string, the default being blank or the Optional String if present. In all cases, the last string entered becomes the new default string for subsequent refreshes.

Left({Telephone},3) =Left(QueryString(”Enter Area Code“, “604”),3)

When the filter is enabled, the function prompts the user for the area code and then returns all records where the first three digits of the phone number match the area code entered. The value string defaults to “604” in this example."
_________________________
Bruce Gardner
ARX Business Solutions Inc.

Top
#31655 - 04/18/12 04:47 AM Re: GridView User Input [Re: Bruce Gardner]
CarlosC Offline
Adagio Fan

Registered: 03/21/08
Posts: 31
Loc: North Bay, ON, Canada
Thanks Bruce, this is just what I was looking for!

Have a great day.

Top


Moderator:  Christa_Meissner 
Who's Online
0 registered (), 56 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14474 Topics
70689 Posts

Max Online: 432 @ 01/20/25 10:17 PM
May
Su M Tu W Th F Sa
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 31