Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am hard coding in Visual FoxPro 6 1

Status
Not open for further replies.

itc1

IS-IT--Management
Sep 18, 2003
65
US
I am hard coding in Visual FoxPro 6. I am having trouble having the output text bolded. What is the program code for specifying that the output text should appear in Bold.
Thanks.
 
jimmo, your example is perfect. I would like the TABS to be at the beginning of each paragraph starting with paragraph 2. Paragraph 1 does not need a TAB. From the code you sent me. It showed all the stories because paragraph 1 does not have a TAB. Here's an example:

blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.

(TAB)blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.

(TAB)blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
 
Let me go back to original comment concerning the tabs:

I am trying to check for the presence of no Tabs in a file.


I assume the text is already created and you just need to go thru and verify the first character (paragraph 1) is not a tab, and that the beginning of other paragraphs contain tabs? If this is true, the question is how to determine the it is a beginning of paragraph in order to ensure there is a tab there. This for example, would be incorrect data because para 2 does not begin with a tab:


blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh.

blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh.

{TAB}blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh.

{TAB}blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh. blah blah balh.

Is this what you are trying to determine, and if so, the question as I mentioned is how do we know para 2 is the beginning of a new paragraph?

If I get a little better handle on the problem I should be able to put some code together for you to solve your problem.

Jim Osieczonek
Delta Business Group, LLC
 
jim thanks so much for your assistance. I don't know how to determine that paragraph 2 is the beginning of a new paragraph. However, from paragraph 2 and the rest of the paragrapshs, I need to be able to know if no TABS exist and I need the output displayed on the screen so I can go into the record and put the TABs in. I also need it to go though all the stories in the database. Not stop at record 1. Maybe a counter can go on the InNoTab where if it's greater than 1(this being the first paragraph) then at that point start looking for no Tabs. I really don't know. Please help. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top