Search found 35 matches: savetodbf

Return to advanced search

Re: De sql a dbf

jair wrote:
Code: Select all  Expand view

cSql  := "SELECT * FROM minhatabela"
   oCn:SaveToDBF( cSql, "c:\temp\TEMP.DBF" )
   OU
   cFile := Get_File()
   oCn:SaveToDBF( cSql, cFile )
 

No veo el metodo SaveToDbf en la clase TDolphin, existe?
by cmsoft
Wed Aug 02, 2023 3:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De sql a dbf
Replies: 8
Views: 789

Re: today problem with savetodbf

OK NOW RUN OK if ! Empty( oBrowse:aDeleted )            AEval( oBrowse:aDeleted, { |a| a[ 19 ] := -a[ 19 ] } )             oRigheInvoice:SaveArrayToDBF( cItemFlds,oBrowse:aDeleted ) // ...
by Silvio.Falconi
Thu Aug 19, 2021 5:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

Otto, making the modifies this afyernoon perhaps it can run the new record is ok the modify record is ok I have problems when I delete a row on xbrowse of yunus it delete with  :bKeyDown   := { |k| If( k == VK_DELETE, ( oBrowse:aAppend := nil, oBrowse:Delete(), 0 ), nil )...
by Silvio.Falconi
Thu Aug 19, 2021 5:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

Perhaps I found a solution I add on dbf Rig_Res a field recno numeric 3cr when I add a new service I add a new field AaDd(oBrowse:aArrayData,{ ".\bitmaps\servizio.png"  ,;                          "01"...
by Silvio.Falconi
Thu Aug 19, 2021 5:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

'Silvio, but before you can save a record you have to navigate to the recNo METHOD GoTo( nRecNo ) or insert a new record. METHOD Append() Why don't you create a function, SAVE () and pass your data? There you open your database again and save everything. And then closes it. For such a complicated t...
by Silvio.Falconi
Thu Aug 19, 2021 4:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

I understood I have aItems of 18 field and citemflds of 19

How I can make to set aItems to 19 fields ?
by Silvio.Falconi
Thu Aug 19, 2021 4:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

'Silvio, but before you can save a record you have to navigate to the recNo METHOD GoTo( nRecNo ) or insert a new record. METHOD Append() Why don't you create a function, SAVE () and pass your data? There you open your database again and save everything. And then closes it. For such a complicated ta...
by Otto
Thu Aug 19, 2021 4:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

Called from: .\source\function\DBFFUNC2.PRG => FW_FIELDSPUT( 911 ) Called from: .\source\function\DBFFUNC2.PRG => (b)FW_SAVEARRAYTODBF( 859 ) Called from: => AEVAL( 0 ) Called from: .\source\function\DBFFUNC2.PRG => FW_SAVEARRAYTODBF( 859 ) Link c:\fwh\source\function\dbffunc2.prg There...
by Silvio.Falconi
Thu Aug 19, 2021 4:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

I think oRigheInvoice has inherited from TDatabase in your source code. This method does not yet exist in Fivewin. Can you post more source code? Show the source code where you create the object. Best regards, Otto ??? otto //OPEN THE DBF BODY oRigheInvoice:=TRigheReserva():New() oRigheInvoice:seto...
by Silvio.Falconi
Thu Aug 19, 2021 4:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

Called from: .\source\function\DBFFUNC2.PRG => FW_FIELDSPUT( 911 ) Called from: .\source\function\DBFFUNC2.PRG => (b)FW_SAVEARRAYTODBF( 859 ) Called from: => AEVAL( 0 ) Called from: .\source\function\DBFFUNC2.PRG => FW_SAVEARRAYTODBF( 859 ) Link c:\fwh\source\function\dbffunc2.prg There ...
by Otto
Thu Aug 19, 2021 4:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

I think oRigheInvoice has inherited from TDatabase in your source code.
This method does not yet exist in Fivewin.
Can you post more source code?
Show the source code where you create the object.

Best regards,
Otto
by Otto
Thu Aug 19, 2021 4:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

Silvio, oRigheInvoice is your class? It seems to me that you use the Fivewin function ArrayToDBF there. c:\fwh\source\function\dbffunc2.prg Best regards, Otto I re-created that I saw on yunus.prg only I have 18 Fields and use tdatabase no oRigheInvoice is the name of dbf Rig_Res.dbf oRigheInvoice:=...
by Silvio.Falconi
Thu Aug 19, 2021 3:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

Silvio,
oRigheInvoice is your class?

It seems to me that you use the Fivewin function ArrayToDBF there.

c:\fwh\source\function\dbffunc2.prg

Best regards,
Otto
by Otto
Thu Aug 19, 2021 3:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

Otto wrote:Silvio,

Why don't you link in the source code SaveArrayToDBF or the class and insert some msginfos?

Best regards,
Otto

not know where is it
by Silvio.Falconi
Thu Aug 19, 2021 3:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950

Re: today problem with savetodbf

Silvio,

Why don't you link in the source code SaveArrayToDBF or the class and insert some msginfos?

Best regards,
Otto
by Otto
Thu Aug 19, 2021 2:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: today problem with savetodbf
Replies: 19
Views: 950
Next

Return to advanced search