Search found 85 matches: astruct

Return to advanced search

Re: Problem with xHarbour 1.2.3

Ariel, > 1) Si hago dbcreate( cfile, aStruct, "ADS" o "DBFCDX" ), NO me crea el campo memo (fpt) fisicamente Esto parece claramente un bug de xharbour. Pero la manera de comprobarlo con seguridad es que pruebes a ejecutar ...
by Antonio Linares
Wed Sep 25, 2013 5:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problem with xHarbour 1.2.3
Replies: 15
Views: 5710

Re: Problem with xHarbour 1.2.3

Antonio, Testeando tambien tuve problemas con esa version de xhrb, los problemas que detecté son : 1) Si hago dbcreate( cfile, aStruct, "ADS" o "DBFCDX" ), NO me crea el campo memo (fpt) fisicamente 2) el xbrowse de un array si selecciono un item SIEMPRE me lo envia ...
by Ariel
Wed Sep 25, 2013 3:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problem with xHarbour 1.2.3
Replies: 15
Views: 5710

New FTDN August/Agosto 2013 (FWH 13.08)

... function FWAdoLoadRecord( oRs ) --> aRecord function FWAdoSaveRecord( oRS, aRecord, nRecNo ) --> nil function FWAdoStruct( oRs ) --> aStruct function FWAdoFieldStruct( oRs, n/cname/ofield) or (oField) -> field strut info { cName, cDbtype, nDblen, nDbdec, nAdotype, lReadwrite } ...
by Antonio Linares
Tue Sep 17, 2013 10:48 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2013 (FWH 13.08)
Replies: 0
Views: 2512

Re: how to add two columns in the Report

... Best regards Davor. #include "FiveWin.ch" #include "report.ch" REQUEST DBFFPT,DBFCDX function rept() local nBalance:=0,nfor,astruct,oReport IF FILE("MyTable.DBF")=.F. ASTRUCT := { ; { "AAA" , "N", 5, 0 }, ; { "DEBIT" , "N", ...
by davor0501
Thu May 16, 2013 6:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to add two columns in the Report
Replies: 3
Views: 838

Change on Vertical show with xbrowse

... oBrw Local nBottom := 33 Local nRight := 66 Local nWidth := Max( nRight * DLG_CHARPIX_W, 180 ) Local nHeight := nBottom * DLG_CHARPIX_H lOCAL aStruct IF LEN(aFields)=0 aStruct := (cdbf)->( DbStruct() ) ELSE aStruct :=aFields eNDIF IF nType =1 If Len( aStruct) != Len(aTitles) msginfo("Error ...
by Silvio.Falconi
Sun Apr 28, 2013 9:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change on Vertical show with xbrowse
Replies: 5
Views: 1672

Re: Clase TDb o TDatabase....cual usar?

... NIL ) ) METHOD CloseIndex() INLINE ( ::nArea )->( OrdListClear() ) METHOD Commit() INLINE ( ::nArea )->( DBCommit() ) METHOD Create( cFile, aStruct, cDriver ) ; INLINE DbCreate( cFile, aStruct, cDriver ) METHOD CreateIndex( cFile, cTag, cKey, bKey, lUnique) INLINE ; ( ::nArea )->( OrdCreate( ...
by Compuin
Thu Feb 28, 2013 6:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Clase TDb o TDatabase....cual usar?
Replies: 10
Views: 2847

Re: What is the best of MySql (lib or class) TMySql, TDolphin

... ) the parameters are wrong please check testdbi.prg method definition from Class TDolphinsrv METHOD InsertFromDbf( cTable, cAlias, nLimit, aStruct, bOnInsert, cDuplicateKey ) /*insert new rows into an existing table from DBF file, the table should be contain same fieldname that DBF */ cTable ...
by Daniel Garcia-Gil
Sun Aug 19, 2012 5:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: What is the best of MySql (lib or class) TMySql, TDolphin
Replies: 92
Views: 17121

Re: It is possible to create a dbf table with two...

... remove this line and compile again #include "Fivewin.ch" // REMOVE THIS LINE AND COMPILE AGAIN REQUEST DBFCDX PROCEDURE Main() LOCAL aStruct := { ; { "CHARACTER", "C", 25, 0 }, ; { "NUMERIC" , "N", 8, 0 }, ; { "DOUBLE" , "N", ...
by MarcoBoschi
Wed Mar 09, 2011 3:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: It is possible to create a dbf table with two...
Replies: 15
Views: 2463

Re: he conseguido un iphone

Hola No funciona Dbcreate? Me saca de la aplicación sin hacer nada DbCreate( AppPath() + "/ruta.dbf", aStruct ) Un saludo Paco, Cuando te ocurra eso mira la consola del xcode y alli verás el error que ha ocurrido. Reportalo aqui y lo revisamos :-) [Session started at ...
by pgfdz
Thu Dec 23, 2010 5:44 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: he conseguido un iphone
Replies: 644
Views: 132065

Re: he conseguido un iphone

pgfdz wrote:Hola
No funciona Dbcreate? Me saca de la aplicación sin hacer nada

DbCreate( AppPath() + "/ruta.dbf", aStruct )

Un saludo


Paco,

Cuando te ocurra eso mira la consola del xcode y alli verás el error que ha ocurrido. Reportalo aqui y lo revisamos :-)
by Antonio Linares
Thu Dec 23, 2010 5:36 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: he conseguido un iphone
Replies: 644
Views: 132065

Re: he conseguido un iphone

Hola
No funciona Dbcreate? Me saca de la aplicación sin hacer nada

DbCreate( AppPath() + "/ruta.dbf", aStruct )

Un saludo
by pgfdz
Thu Dec 23, 2010 4:59 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: he conseguido un iphone
Replies: 644
Views: 132065

Re: Nuevo AdoRDD (libre)

Hola Antonio. Despues de un rastreo al error reportado, fue solucionado adicionando asi: static function ADO_CREATEFIELDS( nWA, aStruct ) local aWAData := USRRDD_AREADATA( nWA ) local n aWAData[ WA_SQLSTRUCT ] := "" for n := 1 to Len( aStruct ) if n > 1 aWAData[ WA_SQLSTRUCT ...
by devtuxtla
Fri Sep 17, 2010 2:40 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nuevo AdoRDD (libre)
Replies: 260
Views: 133271

Re: TData with 10.3

... of database object in the sample testxbr3.prg. I understand, TData class is derived from TDatabase class of FWH. TDatabase class has a DATA aStruct. From version 10.2 onwards this is the change in the method FCount() in tdatabase class of FWH Upto version 10.1   METHOD FCount() ...
by nageswaragunupudi
Thu Apr 08, 2010 7:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TData with 10.3
Replies: 7
Views: 1224

Re: 10.3 xBrowse date display error

...  := 1   oBrw:CreateFromCode()   ACTIVATE DIALOG oDlg CENTERED   oDbf:Close()return nil  I think TData class has a DATA aStruct, which is similar to DbStruct. If so, xBrowse ascertains the datatypes from oDbf:aStruct and if not, makes best guess by examining the ValType ...
by nageswaragunupudi
Wed Mar 31, 2010 7:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 10.3 xBrowse date display error
Replies: 14
Views: 4615

Re: 10.3 xBrowse date display error

... or OBJECT <dataobj>, XBrowse extracts the exact information about the datatype, datalen and datadec from the DbStruct() or oData:aStruct and appropriately decides the correct format, alignment and column width for display. In addition, XBrowse constructs the bOnPostEdit blocks, ...
by nageswaragunupudi
Wed Mar 31, 2010 3:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 10.3 xBrowse date display error
Replies: 14
Views: 4615
PreviousNext

Return to advanced search