Focal Point
[SOLVED] Joining Single Row table in InfoAssist

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8937080096

May 03, 2018, 03:11 PM
DWaybright
[SOLVED] Joining Single Row table in InfoAssist
Is there a way to join a single row table in InfoAssist if there is no key field? I have a table which consists of a single row of processing dates I want to use to filter the data in my main table. I'm not sure how to do this in InfoAssist.
Thanks!

This message has been edited. Last edited by: DWaybright,


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
May 03, 2018, 03:19 PM
MartinY
Not sure if applicable to IA (WHERE ... IN FILE ...) but having your file in ALPHA format you can then have it in a WHERE clause such as below pseudo-code.
Assuming that there is only one date in the file.

TABLE FILE DATE_FOR_FILTER
PRINT FLT_DATE
ON TABLE HOLD AS DTE_FLT FORMAT ALPHA
END
-RUN

TABLE FILE abc
...
WHERE myDt_Field IN FILE DTE_FLT;
END



WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
May 07, 2018, 04:52 PM
FP Mod Chuck
Dwaybright

I successfully joined a non-keyed flat file to another file and got results. It gave me a warning it wasn't indexed but still worked. I joined the single row table to the other table.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
May 08, 2018, 10:58 AM
DWaybright
Thanks. I've been able to get the data I need.


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
May 08, 2018, 12:24 PM
Doug
Please share your solution for others to benefit from FocalPoint Posts.

Thanks You, Doug




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206