Search found 44 matches: nmode

Return to advanced search

Re: I'm not asking for the moon...

Why don't you try using STRTRAN(). It is the solution here. Yes, do you test with STRTRAN ? run all ok ? sure ? IF nMode==2 //modify ntest1 := STRTRAN(str(oBrowse:aArraydata[nRecord][2]), ".", ",") ntest2 := STRTRAN(str(oBrowse:aArraydata[nRecord][3]), ".", ...
by Silvio.Falconi
Fri Jan 19, 2024 10:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 2146

Re: Error al leer un dll

Estimado Jorge, Si estas usando estás funciones: DLL32 FUNCTION OpenComFiscal( nCom AS _INT, nMode AS _INT ) AS _INT PASCAL FROM "OpenComFiscal" LIB "winfis32.dll" DLL32 FUNCTION MandaPaqueteFiscal( nHandler AS _INT, cBuffer AS LPSTR ) AS _INT PASCAL ...
by Antonio Linares
Sat Apr 22, 2023 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error al leer un dll
Replies: 19
Views: 1498

Re: check existing first and last on customer

... field sizes of FIRST and LAST. Sorry Nages I have a bit of everything. your idea can only work that I have to manage the various insertion modes nMode = 1 new nMode = 2 change nMode = 3 duplicate records nMode = 4 I need this in the selection dialog I made @ 12, 10 SAY "Cognome:" OF ...
by Silvio.Falconi
Mon Jun 14, 2021 9:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check existing first and last on customer - RESOLVED !!!
Replies: 23
Views: 2505

Ejecutar llamada a servicio.

... ShellExcute("open", "do.bat"....) Me genera todo menos la impresion del vale. He probado TODAS las combinaciones de nMode y nada de nada. Alguna idea o tip por donde ir... hasta probe oShell := CreateObject( "WScript.Shell" ) oShell:Run( "%comspec% ...
by Adolfo
Thu Aug 20, 2020 2:17 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejecutar llamada a servicio.
Replies: 16
Views: 1585

Re: dialog resizable

... ::oWnd but I cannot show the caption and menu pulldown ( no good) on DIALOG it is different because I need to have DEFINE DIALOG oDlg TITLE aTitle[nMode] SIZE 1120,650 ; PIXEL TRUEPIXEL RESIZABLE FONT oFont but I not want the "X" because the user could press it and then the procedure ...
by Silvio.Falconi
Wed Jul 03, 2019 9:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: dialog resizable
Replies: 7
Views: 775

Re: To James Bott - Error Using TData

... if the progressive number I deduce from the last of the same table +1 without using sysdbf.file and autoincremental class sample: at init IF nMode == 1 .or. nMode == 3 // add new or duplicate oCust: gobottom () CCLI: = StrZero (Val (oCust: NumCli) +1.4) else cCli: = oRec: numcli // modify ...
by James Bott
Wed May 29, 2019 3:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To James Bott - Error Using TData
Replies: 49
Views: 5122

Re: To James Bott - Error Using TData

... if the progressive number I deduce from the last of the same table +1 without using sysdbf.file and autoincremental class sample: at init IF nMode == 1 .or. nMode == 3 // add new or duplicate oCust: gobottom () CCLI: = StrZero (Val (oCust: NumCli) +1.4) else cCli: = oRec: numcli // modify ...
by Silvio.Falconi
Wed May 29, 2019 11:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To James Bott - Error Using TData
Replies: 49
Views: 5122

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

... this way and besides I have many dbf that have this type of code "0001" Please see editrecord function on my test on add New i made IF nMode == 1 cCodeCliente:=CreaCodiceClienti(oClienti) Endif cCli:=If(nMode==1,cCodeCliente,oRec:Numcli) on dialog I made @ 12, 5 SAY "Codice:" ...
by Silvio.Falconi
Sun Mar 31, 2019 4:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 3658

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

cCli is the account number of customer IF nMode == 1 oClienti:gobottom() cCodeCliente:=StrZero(val(oClienti:numcli)+1,4) Endif In one of my programs I need customer-numbers as well. There is a index on customer-number with the text-format "00000". ...
by ukoenig
Sun Mar 31, 2019 2:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 3658

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

... } then I associated on buttons oBrwClienti:EditSource( .t. ) for add or oBrwClienti:EditSource( .f. ) for modify function EditRecord( oRec ) Local nMode:= If( oRec:RecNo == 0, 1, 2) IF nMode == 1 oClienti:gobottom() cCodeCliente :=StrZero(val(oClienti:numcli)+1,4) Endif on Dialog @ 12, 5 SAY "Codice:" ...
by Silvio.Falconi
Wed Mar 27, 2019 6:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 3658

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

... and I show the archive with a xbrowse as you can see I insert a tab to select the index on edit I have 3 option Mode nMode = 1 -> add New nMome = 2 -> modify record nMode = 3 --> duplicate record at the beginning of the edit function I call tdatarow with oRec ...
by Silvio.Falconi
Wed Mar 27, 2019 12:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 3658

Re: DLL32 FW24 vs FW916

... ) procedure ClosePort( nHandler ) // Debe llamar a CloseComFiscal() CloseComFiscal( nHandler ) return DLL32 FUNCTION OpenComFiscal( nCom AS _INT, nMode AS _INT ) AS _INT PASCAL FROM "OpenComFiscal" LIB "winfis32.dll" DLL32 FUNCTION MandaPaqueteFiscal( nHandler AS _INT, cBuffer ...
by hectorpapiri
Fri Nov 24, 2017 5:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DLL32 FW24 vs FW916
Replies: 17
Views: 2934

DLL32 FW24 vs FW916

... compilado con FW916 devuelve otros valores en las funciones. // Listado de funciones de WinFis32.dll DLL32 FUNCTION OpenComFiscal( nCom AS _INT, nMode AS _INT ) AS _INT PASCAL LIB "winfis32.dll" DLL32 FUNCTION MandaPaqueteFiscal( nHandler AS _INT, cBuffer AS LPSTR ) AS _INT PASCAL LIB ...
by hectorpapiri
Tue Nov 21, 2017 7:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DLL32 FW24 vs FW916
Replies: 17
Views: 2934

Re: funciones de FWH y Harbour en un archivo .txt

... ADSRightsCheck(<lMode>)->lPriorSetting ADSSetAOF(<cFilter>,[<nResolveOption>])->lSuccess ADSStmtSetTableReadOnly(<nMode>)-><lSuccess> AEval(<aArray>,<bBlock>,[<nStart>],[<nCount>])->aArray AFields([<aFieldsnames>],[<aTypes>],[<aWidths>],[<aDecimals>])->nFields ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5709

Re: DBF editors

Hello, function copy to delimited errors out. I think the parameter nMode == 1 should be logical parameter and TRUE. Best regards, Otto ELSEIF nFormat == 3 // Delimited ? cFileName //__dbDelim( nMode == 1 , cFileName , cDelim , aFld , ; // bFor , bWhile , ...
by Otto
Mon Sep 12, 2016 8:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF editors
Replies: 16
Views: 4434
Next

Return to advanced search