Search found 912 matches

by Jeff Barnes
Thu Jan 17, 2019 2:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: HL7 Result Message
Replies: 0
Views: 400

HL7 Result Message

Has anyone created something to generate HL7 result messages they would be willing to share?
by Jeff Barnes
Thu Aug 02, 2018 7:23 pm
Forum: FiveWin for Harbour/xHarbour
Topic: String manipulation
Replies: 3
Views: 597

Re: String manipulation

Thank you very much :D
by Jeff Barnes
Tue Jul 31, 2018 4:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: String manipulation
Replies: 3
Views: 597

String manipulation

I am trying to find a clean and simple way to manipulate a string. I am sending an HL7 result message that contains a comment section. In this comment section I am inserting my comment (var = cComment) cComment can contain a paragraph or more. The issue I'm having is, if the user enters their commen...
by Jeff Barnes
Wed May 02, 2018 4:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Remove Line feeds
Replies: 9
Views: 1221

Re: Remove Line feeds

I think the issue is when I am looking at the file in notepad, ultraedit etc...
I ran some quick code to show me the values of each char and it only shows the CHR(13) at the end of the line and no CHR(10) so I think I'm good.
Thanks for looking into this with me.
by Jeff Barnes
Wed May 02, 2018 3:32 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Remove Line feeds
Replies: 9
Views: 1221

Re: Remove Line feeds

Sent to your email
by Jeff Barnes
Wed May 02, 2018 2:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Remove Line feeds
Replies: 9
Views: 1221

Re: Remove Line feeds

What are you checking it with?
When I paste the text into http://www.asciivalue.com/ it shows both chr(13) and chr(10)
by Jeff Barnes
Wed May 02, 2018 1:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Remove Line feeds
Replies: 9
Views: 1221

Re: Remove Line feeds

Here is a link to the file.

www.can-soft.net/dlnew/sample.hl7
by Jeff Barnes
Wed May 02, 2018 12:32 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Remove Line feeds
Replies: 9
Views: 1221

Re: Remove Line feeds

Forgot to mention, I need just a CR at the end of each line.
by Jeff Barnes
Wed May 02, 2018 12:30 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Remove Line feeds
Replies: 9
Views: 1221

Remove Line feeds

How can I remove line feeds from text? I've tried cText = StrTran( cText, CRLF, CHR(13) ) Also tried cText = StrTRan( cText, CHR(10), "" ) but when I put the text in an Ascii checker (http://www.asciivalue.com/) it shill shows CHR 10 I've tried writing the file with MemoWrit() and FCreate(...
by Jeff Barnes
Fri Apr 20, 2018 2:03 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Script Question
Replies: 9
Views: 1732

Re: Script Question

Hi Robb, I have an application that is sending HL7 result messages back to the hospital main system. This app can have multiple "sites" and each site typically requires slight differences in the result message. What I've done is create a result.prg file with the basic info for a result mes...
by Jeff Barnes
Thu Apr 19, 2018 9:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Script Question
Replies: 9
Views: 1732

Re: Script Question

Thank you, that fixed it :D
by Jeff Barnes
Thu Apr 19, 2018 8:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Script Question
Replies: 9
Views: 1732

Script Question

I am using the scripts ability with harbour and FWH via the Execute(code) function. I get an error when I try to use the FileCopy() function in my program (see code below). Any ideas why I get this error: "Error description: Error BASE/6101 Unknown or unregistered symbol: FILECOPY" I get t...
by Jeff Barnes
Wed Mar 28, 2018 8:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Modify DBF Structure
Replies: 2
Views: 565

Modify DBF Structure

Is there a way via code to adjust the field size in a DBF file ?

I have a numeric field that is currently 4 chars in size.
I would like to be able to use code to change it to a size of 6 (no decimals)
by Jeff Barnes
Sat Nov 18, 2017 12:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Compile Errors
Replies: 2
Views: 540

Re: Compile Errors

Please ignore this post. I have solved the problem.
I reinstalled Harbour from https://bitbucket.org/fivetech/harbour- ... downloads/ and ow it compiles :)