Topic Options
#29053 - 09/26/11 06:30 AM Adagio Fx statements
Carole_m Offline
Casual

Registered: 09/23/10
Posts: 14
Loc: Thunder Bay Ontario
Adagio Fx (9.0) statements were working until new year was created in the ledgers that were being retrieved into Fx. The problem seems to be in any statements that contain the "QUERYSHEET" function in them. Statement tabs without the "QUERYSHEET" formulas work fine, but all statements with the "QUERYSHEET" formual default to "error" when selecting the correct period.

Does anyone have the same experience, or have any ideas as to the cause of this problem. This was given to our re-seller, but they have not been able to determine the problem.

Top
#29054 - 09/26/11 06:37 AM Re: Adagio Fx statements [Re: Carole_m]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
=QUERYSHEET() takes several additional arguments to let the financial reporter know what period you want the target sheet calculated for. From the Financial reporter Help:
Quote:

QUERYSHEET(S, C [, F [, D [, Y])
Description
Returns the contents of the cell reference C from the sheet S calculated for the Fiscal Period F using Department D in Fiscal Year Y. If the optional parameters, fiscal period, department and fiscal year, are not passed then the current contents of the cell are returned. You cannot use this function to reference a cell on the same sheet. If a Named Range is used then the value from the top left cell in the Named Range is returned.

Parameters
S Sheet name
C Cell reference or Name Range
F Optional fiscal period
D Optional Department (if used then the Fiscal Period must also be used)
Y Optional Year (if used then the Fiscal Period and Department must also be used; values are 0 for current year, 1 for prior year, 2 for two years ago, etc.)

Example
Sheet 2 Cell A10 contains 99

If a cell in Sheet 1 has =QuerySheet(“Sheet 2”,”A10”) then 99 will be returned.

Sheet 2 Cell A10 has =ADGET(“GLDATA.Bal”,"1000") = 347.67

If a cell in Sheet 1 has =QuerySheet(“Sheet 2”,”A10”) then the numeric value 347.67 will be returned.
If a cell in Sheet 1 has =QuerySheet(“Sheet 2”,”A10”,3,”100”) then Sheet 2 will be recalculated for Fiscal Period 3 and Department 100 and the resulting value will be returned.
If a cell in Sheet 1 has =QuerySheet(“Sheet 2”,”A10”,3,”100”,1) then Sheet 2 will be recalculated for Fiscal Period 3, Department 100 and the prior fiscal year, and the resulting value will be returned.

Perhaps you could paste the QUERYSHEET() formula that is returning the error.
_________________________
Andrew Bates

Top


Moderator:  Christa_Meissner 
Who's Online
1 registered (1 invisible), 87 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14464 Topics
70650 Posts

Max Online: 432 @ 01/20/25 10:17 PM
April
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