As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I've got a WebFOCUS query that I run to TABT output in a WebFOCUS 7.6.11 environment.
After the query completes, I have a separate process that imports the text file into a Access database. This process uses VBA code, which identifies the end of a line in the text file as a carriage return. This is a process and a piece of VBA code that has been working with no problems for several years.
Very recently, my VBA code started failing because there are no carriage returns at the end of the lines of text in the file. It appears that these are now line feeds instead of carriage returns.
Does anyone know if this was a change that was made in WebFOCUS recently? Is there a way from the WebFOCUS code to force a carriage return at the end of each line of text?
Thank you.This message has been edited. Last edited by: ColdWhiteMilk,
Yes, I have tried the MS Access import process with the TABT tile, and it works.
However, the VBA code that I wrote 3-4 years ago does not use the standard Access import specs. I am using the Line Input function, which imports one line at a time, and identifies the end of the line based on the carriage return.
Since this VBA code was written and working for several years and is now not working, I'm looking not just at the VBA code, but also possible WebFOCUS changes that might have caused the problem.
Is there a way with WebFOCUS to create a defined field that is a carriage return that I could append to the end of each line?
-SET &CRLFHEADER = HEXBYT(13, 'A1');
DEFINE FILE CAR
CRLF/A5= HEXBYT(13, 'A1');
END
TABLE FILE CAR
PRINT
MODEL
COUNTRY
CRLF AS '&CRLFHEADER.EVAL'
BY COUNTRY NOPRINT
ON TABLE PCHOLD FORMAT TABT
END