Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Multiple versions of date fields in hold file
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Multiple versions of date fields in hold file
 Login/Join
 
Platinum Member
posted
I am using SQL pass-through to create a hold file. In my TABLE FILE statement to put the fields into the hold file, I add formatting to the date fields (Month_End_Date/MDYY). This causes two copies of that field to appear in the master file for the hold file, both with the same name but each has a different format:
     
FIELDNAME=Month_End_Date, ALIAS=E22, USAGE=YYMD,
      MISSING=ON, $
FIELDNAME=Month_End_Date, ALIAS=E23, USAGE=MDYY,
      MISSING=ON, $ 

Only the first one shows up in the field listing in InfoAssist. If I try to remove the first one I get an error and the master file gets corrupted.
Anyone else run into this? I can get around it with changing the format of the field prior to the TABLE FILE statement, but it seems silly to have to add lines of code instead of just a few characters.

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


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 156 | Location: Indiana | Registered: December 05, 2017Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Try putting this line ...
ON TABLE SET HOLDLIST PRINTONLY
before your ON TABLE HOLD line


WebFocus 8.201M, Windows, App Studio
 
Posts: 223 | Location: Lincoln Nebraska | Registered: August 12, 2008Reply With QuoteReport This Post
Platinum Member
posted Hide Post
quote:
ON TABLE SET HOLDLIST PRINTONLY

That worked! Thank you so much!
Big Grin


WebFOCUS 8.2.03 (production), 8.2.06 (testing)
AppStudio, InfoAssist
Windows, All Outputs
 
Posts: 156 | Location: Indiana | Registered: December 05, 2017Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Multiple versions of date fields in hold file

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.