FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour a small question on Yunus NagesWarao sample
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
a small question on Yunus NagesWarao sample
Posted: Wed Apr 05, 2023 10:47 AM
I'm using the array technique to save the body of an invoice like NagesWarao does in his yunus.prg example

NagesWarao assigns to the static variable "cItemFlds" the fields it uses in the xbrowse
Code (fw): Select all Collapse
static cItemFlds  := "INVNUM,SERIAL,ITEMCODE,ITEMNAME,QUANTITY,UNIT,PRICE,DISCOUNT,RECNO()"
If I have many fields to set can use ";" ?

sample
Code (fw): Select all Collapse
static cItemFlds  := "INVNUM,SERIAL,ITEMCODE,ITEMNAME,QUANTITY,;
                                     UNIT,PRICE,DISCOUNT,RECNO()"
or not ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: a small question on Yunus NagesWarao sample
Posted: Thu Apr 06, 2023 07:18 AM
Dear Silvio,

You have to do it this way:
Code (fw): Select all Collapse
   static cItemFlds  := "INVNUM,SERIAL,ITEMCODE,ITEMNAME,QUANTITY," + ;
                        "UNIT,PRICE,DISCOUNT,RECNO()"
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: a small question on Yunus NagesWarao sample
Posted: Thu Apr 06, 2023 10:16 AM

thanks

i couldn't understand but i didn't change the source except that line

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion