Topic Options
#16801 - 04/16/09 03:47 PM Gridview Query
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
I created a Gridview using table "G/L Posted Transactions" to help with bank reconciliations. I added the fields: Fiscal Year/FP/Trx Acct/Trx Date/Trans Description 1/Trans Description 2/Debit/Credit and filtered with {Fiscal Year} = "2010-",{Trx Acct} = " 1010". Now I would like to add a query so that we can choose which FP (Fiscal Period) we want to view. Can anyone help me with what Query command to use??

Thanks,
_________________________
Susan Tennier
TDL Canada
Trenton, Ontario

Top
#16803 - 04/16/09 03:59 PM Re: Gridview Query [Re: SusanTennier]
Steve Schwartz Offline
Adagio God

Registered: 03/10/02
Posts: 4512
Loc: Wynnewood, PA
Hi Susan

There's no such thing as adding a "query". I'm hoping you mean you want to add another argument to your filter.

The argument is

{FP} = QUERYNUMBER("Enter FP" )

Where "Enter FP" can be replaced by whatever prompt you want to appear on the screen when the report is run.

Steve

Top
#16926 - 04/23/09 12:11 PM Re: Gridview Query [Re: Steve Schwartz]
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
Hi Steve,

Thanks, that is exactly what I was looking for. The only problem now is the "Enter FP" window has a default entry of "4.84176073927235e-305". How do I make it default to nothing?
_________________________
Susan Tennier
TDL Canada
Trenton, Ontario

Top
#16928 - 04/23/09 12:20 PM Re: Gridview Query [Re: SusanTennier]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
HI Susan,

Code:
{FP} = QUERYNUMBER("Enter FP" ,0 )


would provide a default of 0.
_________________________
Andrew Bates

Top
#16933 - 04/23/09 09:15 PM Re: Gridview Query [Re: Retired_Guy]
SusanTennier Offline
Adagio Maestro

Registered: 02/22/08
Posts: 1247
Loc: Ontario, Canada
Thanks... works great.
_________________________
Susan Tennier
TDL Canada
Trenton, Ontario

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