Search found 2536 matches

by TimStone
Wed Mar 03, 2021 12:32 am
Forum: FiveWin for Harbour/xHarbour
Topic: Documentation for variables - what form should it be?
Replies: 9
Views: 14075

Re: Documentation for variables - what form should it be?

As Otto suggests, one can create a database to handle all of it. Uniformity in coding would be enabled and a big plus ... but it would take some work. I would suggest a multi folder approach. On the main menu you could select a section, like Customer, Inventory, Invoices, etc. Then you can have a de...
by TimStone
Tue Mar 02, 2021 10:21 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Data management system
Replies: 9
Views: 22752

Re: Data management system

Otto, The Oasis had many excellent tools we could use with our programming, including formatting and documenting programs. They ran automatically on a .prg file and did an awesome job. However, they were all 16 bit. I have UE Studio which can do some of that work. However, in the early Clipper days,...
by TimStone
Tue Mar 02, 2021 10:18 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Documentation for variables - what form should it be?
Replies: 9
Views: 14075

Re: Documentation for variables - what form should it be?

Each of my .prg files ( and there are many in the application ) has a name that references what they do. So, mCustomer has a customer class, sub=classes, and functions that all relate to handling customers. If I ever have a problem related to the customer information, I know to go to that one file. ...
by TimStone
Tue Mar 02, 2021 1:10 am
Forum: FiveWin for Harbour/xHarbour
Topic: Data management system
Replies: 9
Views: 22752

Re: Data management system

Otto, As the years stretch on, I have not kept my "documentation" current ... and when I get time I likely will update it. I'm sure a tool can be great, but there are so many projects for me to tackle so I haven't gone down that road. In the old Clipper days, we used to have many documenti...
by TimStone
Tue Mar 02, 2021 1:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: Documentation for variables - what form should it be?
Replies: 9
Views: 14075

Re: Documentation for variables - what form should it be?

In earlier days, I put in an extended comment section at the top of each .prg file. In it I listed Functions, Commands, Classes, Methods, and Variables. I would define each one. /* SOURCE. abc.prg USES DBFs. account.dbf, client.dbf CLASSES FUNCTIONS COMMANDS VARIABLES */ Using Classes, however, put ...
by TimStone
Fri Feb 26, 2021 7:57 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Data management system
Replies: 9
Views: 22752

Re: Data management system

I often find the need to take notes, and then look back on them perhaps months ( years ) later. I also wanted to keep track of my databases ( file name, indexes, fields, structure, and purpose of each one ). I decided to use OneNote from Microsoft because it can work across all devices. You can do e...
by TimStone
Wed Feb 24, 2021 6:31 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Errsysw not working
Replies: 5
Views: 28157

Re: Errsysw not working

RESOLVED

My error. I have one variable I'm tracking, which I report in the customized error log, and it wasn't in the sub-version of the program. Thus it was causing the errsysw.prg to error within itself.

All is good now ...
by TimStone
Tue Feb 23, 2021 9:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Errsysw not working
Replies: 5
Views: 28157

Errsysw not working

I'm overlooking something, but perhaps you can refresh my memory. Using FWH, Harbour, and Visual Studio Community. In my main application, I include errsysw.prg and it works perfectly when an error occurs. I have a subset of my program, using many of the exact same files from the same source directo...
by TimStone
Fri Feb 12, 2021 11:43 pm
Forum: FiveWin for Harbour/xHarbour
Topic: AT( ) Function. Harbour vs xHarbour
Replies: 1
Views: 2717

AT( ) Function. Harbour vs xHarbour

I'm working with some legacy code orignially developed with xHarbour. The AT() function in xHarbour has this syntax: At( <cSearch>, <cString>, [<nStart>], [<nEnd>] ) --> nPos Using Harbour, AT() only supports the first two parameters and will error if the nStart is specified. Is there an alternative...
by TimStone
Fri Feb 12, 2021 11:38 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Working With Quickbooks. QBFC
Replies: 3
Views: 4529

Re: Working With Quickbooks. QBFC

Thank you ... I will work with that. I found an interesting problem when I hardcoded the path into the program for testing. This may prove helpful to others who read this thread. When Quickbooks sets up a company, it puts it by default in the PUBLIC\Public Documents\Intuit\Quickbooks\ Company Files ...
by TimStone
Fri Feb 12, 2021 7:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Working With Quickbooks. QBFC
Replies: 3
Views: 4529

Working With Quickbooks. QBFC

Years ago I successfully used FWH and xHarbour to build a link between my application and Quickbooks. To do this I had to use the following code to initialize QB connectivity setup: FUNCTION QBInit    LOCAL cQBFile := " "    LOCAL nHandle, oConfig, oQb, oSetupResponse    IF MsgNoYes( "...
by TimStone
Fri Feb 12, 2021 6:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile( )
Replies: 2
Views: 4082

Re: cGetFile( )

I realize why the error is occoruing ... I will try a different post regarding the issue.

My question was to find a different way to just get the file name, not to open it.
by TimStone
Fri Feb 12, 2021 12:31 am
Forum: FiveWin for Harbour/xHarbour
Topic: cGetFile( )
Replies: 2
Views: 4082

cGetFile( )

A quick question: Consider the following line of code: cQBFile := cGetFile( "QuickBooks|*.QBW", "Select your Quick Books Company file") In the past it would give me the link to the file. Something changed ( likely in Windows ). However, Windows pops up a box that informs me the f...
by TimStone
Mon Feb 08, 2021 9:29 pm
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 21.01
Replies: 2
Views: 4097

Re: New FWH 21.01

Antonio, In this previous thread. you mentioned putting the new work on the Easy Report Generator into this distribution so we could begin testing it and providing feedback: .http://forums.fivetechsupport.com/viewtopic.php?f=3&t=39880 I do not see that in the notes. Did it get included ? If not,...
by TimStone
Sat Jan 23, 2021 6:22 pm
Forum: FiveWin for Harbour/xHarbour
Topic: illegal copy protection
Replies: 9
Views: 7788

Re: illegal copy protection

Moises,

Sorry for the delay ... I run Win 10 using Parallels on an iMac and once again it has "gone down" due to an error ... and it takes the system days to fix itself.

I'll give the example when I get access again.

Tim