a small question on Yunus NagesWarao sample

a small question on Yunus NagesWarao sample

Postby Silvio.Falconi » 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: Select all  Expand view
static cItemFlds  := "INVNUM,SERIAL,ITEMCODE,ITEMNAME,QUANTITY,UNIT,PRICE,DISCOUNT,RECNO()"


If I have many fields to set can use ";" ?

sample
Code: Select all  Expand view
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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm

Re: a small question on Yunus NagesWarao sample

Postby Antonio Linares » Thu Apr 06, 2023 7:18 am

Dear Silvio,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41858
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: a small question on Yunus NagesWarao sample

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6897
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 32 guests