Search found 86 matches: dbstruct

Return to advanced search

Re: xBrowse anomoly

... corresponds to a numeric field with fieldlength 8 and fielddec 2. But this field is a character field. When TDatabase class opens a DBF, it copies DBSTRUCT() to oDbf:aStruct, extends the array and after examining each field stores (a) picture clause for numeric fields (only) in column 7, (b) index ...
by nageswaragunupudi
Fri May 01, 2020 3:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse anomoly
Replies: 21
Views: 3600

ERROR CON TDATABASE Y CODGRUP.DBF

... con oDbf := TDatabase():Open( , cPath+'CODGRUP' ,'DBFCDX' , .T. ) me da un error y el programa se cuelga !!! Necesito el oDbf para poder usar oDbf:Dbstruct() en un xbrowse. si le cambio el nombre a la DBF ej: CODIGOS.DBF lo anterior anda perfectamente ????? No se me ocurre que pueda estar pasando ...
by rterraz
Mon Dec 30, 2019 12:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR CON TDATABASE Y CODGRUP.DBF
Replies: 5
Views: 997

Re: to Nages: test for tdatabase

... the exact date and time when the record was first created. Later on, this value is not changed and you shoud also not change it. When reading the DBSTRUCT(), Harbour displays this as "@" instead of 'T', but the functionality is the same. Nothing to worry about it.
by nageswaragunupudi
Sun May 12, 2019 4:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: to Nages: test for tdatabase
Replies: 37
Views: 5857

Re: Autoincrement field for DBFCDX

Hello , I made some test with autoincrement field : DBCREATE(cDbfFile , {{"ID","+",10,0}} , "DBFCDX" , .T. ) DBG DbStruct() // gives ID , + , 4 , 0 ? FieldLen("ID") // 4 WHY TRUNCATED TO 4 ????????????????????????? FOR i := 1 TO 10001 DBAPPEND() NEXT ? ...
by nageswaragunupudi
Tue Mar 27, 2018 7:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Autoincrement field for DBFCDX
Replies: 9
Views: 1759

Autoincrement field for DBFCDX

Hello , I made some test with autoincrement field : DBCREATE(cDbfFile , {{"ID","+",10,0}} , "DBFCDX" , .T. ) DBG DbStruct() // gives ID , + , 4 , 0 ? FieldLen("ID") // 4 WHY TRUNCATED TO 4 ????????????????????????? FOR i := 1 TO 10001 DBAPPEND() NEXT ? ...
by Franklin Demont
Sat Mar 24, 2018 10:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Autoincrement field for DBFCDX
Replies: 9
Views: 1759

Re: Ado : Field Definition

... can use the function: FWAdoCreateTable( cTable, aCols, oConnectionObject, [lAddAutoInc] ) --> lSuccess where aCols is a structure exactly like DBSTRUCT() of DBF tables. This function detects the database from the "oConnectionObject" and chooses appropriate field types and specs and ...
by nageswaragunupudi
Fri Jan 26, 2018 1:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ado : Field Definition
Replies: 1
Views: 812

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

... DBSort(<cDatabase>,<aFields>,[<bFor>],[<bWhile>],[<nNext>],[<nRecord>],[<lRest>])->lSuccess DBStruct()->aStruct DBTableExt()->cFileExtension DBTotal(<cDatabase>,<bExpression>,[<aFields>],[<bFor>],[<bWhile>],[<nNext>],[<nRecord>],[<lRest>])->lSuccess ...
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: 5723

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

... DBRLock DBRLockList DBRSelect DBRUnlock DBSeek DBSelectArea DBSetDriver DBSetFilter DBSetIndex DBSetOrder DBSetRelation DBSkip DBSkipper DBSort DBStruct DBTableExt DBTotal DBUnlock DBUnlockAll DBUpdate DBUseArea DBZap Default DefPath Deleted DeleteFile Descend DevOut DevOutPict DevPos DirChange ...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5723

TDatabase FWH 17.08 : Datas and Methods

... Type: "A" ): Array containing field names of DBF 3. aStruct ( ReadOnly Type: "A" ): Structure of the table, similar to DBSTRUCT(). aStruct has additional columns 7 for picture and 8 for index tag. When programmer assigns an alternate name for a field using ::MapCol(), ...
by nageswaragunupudi
Fri Sep 15, 2017 12:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase FWH 17.08 : Datas and Methods
Replies: 1
Views: 1789

Re: New Menus clauses Wiki updated

... error with the following lines of code in MNUSELECT.PRG MENUITEM Upper( "FieldNames_" ) + Alias( 1 ) MENU SELECT ( Alias( 1 ) )->( DbStruct() ) LIMIT -1 COLUMNS 2, 1, 3 //, 4 ENDMENU MENUITEM Upper( "FieldNames_" ) + Alias( 1 ) + "_EXPAND" MENU SELECT ( Alias( ...
by RAMESHBABU
Tue Jul 11, 2017 1:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Menus clauses Wiki updated
Replies: 10
Views: 1831

Re: Copia de registros con FWH

... entre código ya existente para aprovechar una tabla de las gordas y con muchos registros.            dbCreate( 'Prueba', Creditos->( dbStruct() ) )      USE Prueba NEW      /* __dbTrans( nDstArea, aFieldsStru, bFor, bWhile, nNext, nRecord, lRest ) -> <lSuccess> ...
by Carlos Mora
Mon Jun 12, 2017 7:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Copia de registros con FWH
Replies: 12
Views: 2869

Re: FWHMARIADB Samples

1) After opening a table as rowset, we can use oRs:aStructure, which is like DBSTRUCT() for a DBF oRs := oCn:tablenameXBROWSER oRs:aStructure  2) Without opening a table we can use oCn:ListColumns( cTable, [lShow] ) //--> array of columns with ...
by Horizon
Thu Apr 13, 2017 6:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMARIADB Samples
Replies: 48
Views: 20746

Re: FWHMARIADB Samples

1) After opening a table as rowset, we can use oRs:aStructure, which is like DBSTRUCT() for a DBF oRs := oCn:tablenameXBROWSER oRs:aStructure  2) Without opening a table we can use oCn:ListColumns( cTable, [lShow] ) //--> array of columns with ...
by nageswaragunupudi
Wed Apr 12, 2017 8:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWHMARIADB Samples
Replies: 48
Views: 20746

Re: Ejemplo de Tdatarow para crear Base de datos y tablas

... ). Also FWH function works on those RDBMs which do not fully support ADOX. FWAdoCreateTable( cTable, aStruct, oCn ) // aStruct is identical to DBSTRUCT() Usage: FWAdoCreateTable( "sales", { { BILLNO, 'N', 5, 0 }, ;              ...
by nageswaragunupudi
Sat Apr 01, 2017 1:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejemplo de Tdatarow para crear Base de datos y tablas
Replies: 19
Views: 3269

Re: ADD COLUMN TO XBROWSE

... it is due that the user uses a data dictionary to order the columns of the table as it requires, so we can not show the table in the order of the DBSTRUCT() fields . Each user of the system orders the information in the way that it requires and also adds a color to the column ... We can not change ...
by devtuxtla
Wed Mar 22, 2017 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADD COLUMN TO XBROWSE
Replies: 2
Views: 733
PreviousNext

Return to advanced search