Search found 26 matches: lshared

Return to advanced search

Re: Reason for closing DBF file

cDriVer := "DBFCDX" // PARAMETRO DE LA FUNCION DBUSEAREA(.T.,cDriVer,cPatTab+cNomTab,cAliTab,lShared,lReaOnl) IF ( cDriVer == "DBFCDX" .OR. cDriVer == "ADS" ) .AND. !EMPTY(cPatTab) cNomArc := ALLTRIM(SUBS(cNomTab,1,8))+'.CDX' IF FILE(cPatTab+cNomArc) ...
by russimicro
Sun Sep 24, 2023 10:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Reason for closing DBF file
Replies: 23
Views: 1177

to simplify the Tdatabase call

I wanted to know if in Tdatabase I can do this sample CLASS TUtenti from TDataBase METHOD New() METHOD ToArray() ENDCLASS METHOD New( lShared ) CLASS TUtenti Default lShared := .t. ::super:New(,oApp():cExePath + "Utenti" ,, lShared) if ::use() ::setOrder(1) ::gotop() endif RETURN ...
by Silvio.Falconi
Mon May 17, 2021 8:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: to simplify the Tdatabase call
Replies: 3
Views: 553

Re: uso de ADS y DBFCDX ?

... la opción de utilizar por ejemplo la apertura de una DB DBUSEAREA( [<lNewArea>], [<cDriver>], <cName>, [<xcAlias>],[<lShared>], [<lReadonly>]) y también al crear una nueva DB, DBCREATE( <cDatabase>, <aStruct>, [<cDriver>], [<lOpen>], ...
by Marcelo Via Giglio
Thu May 23, 2019 4:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: uso de ADS y DBFCDX ?
Replies: 2
Views: 456

Re: FiveDBU no guarda preferencias

... SET SECTION "Default" ENTRY "RDD" OF oIni TO cDefRdd SET SECTION "Default" ENTRY "Shared" OF oIni TO lShared SET SECTION "Default" ENTRY "Language" OF oIni TO nLanguage SET SECTION "Default" ENTRY "Pijama" OF ...
by jvtecheto
Wed Apr 24, 2019 2:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FiveDBU no guarda preferencias
Replies: 3
Views: 573

Re: A toolbox of netfunctions

... errormessage and crashes on exit-button. Opening as a single user it is Ok. I think the problem belongs to : METHOD Open( cAlias, cFile, cDriver, lShared, lReadOnly, cPassword ) CLASS TDataBase ::Use() METHOD Use() CLASS TDataBase ... ... if ::td_ExecLoop( { || dbUseArea( .t., ::cDriver, ::cFile, ...
by ukoenig
Thu Jan 24, 2019 11:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A toolbox of netfunctions and tDatabase-tests
Replies: 30
Views: 6343

Re: questions manage dbf

... the "data" folder can open with DbUseArea( [<lNewArea>] , ; [<cRddName>] , ; <cDatabase> , ; [<cAlias>] , ; [<lShared>] , ; [<lReadonly>] , ; [<cCodePage>] , ; [<nConnection>] ) --> NIL cAlias:=New_Alias(cDbf,nD) DbUseArea(.T.,cDriver,cDbf,cAlias,.T.,.F.) ...
by Silvio.Falconi
Mon Oct 01, 2018 10:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: questions manage dbf
Replies: 17
Views: 3896

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

... DBUseArea([<lNewArea>],[<cDriver>],<cName>,[<xcAlias>],[<lShared>],[<lReadOnly>],[<cCodePage>],[<nConnection>])->Nil DBZap()->Nil Default(@<varName>,<xDefaultValue>)->Nil ...
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: 5727

TDatabase FWH 17.08 : Datas and Methods

... and AnsiToOem() while reading and saving. 20. lReadOnly ( Type: "L" Default: .F. ): True if the file is opened in readonly mode. 21. lShared ( ReadOnly Type: "L" Default: ! Set(_SET_EXCLUSIVE) ): True if the DBF is used in shared mode 22. nArea ( ReadOnly Type: "N" ...
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: 1792

Re: TDatabase or my error?

Ruben, As Enrico stated you have to open it for exclusive use (set lShared to .f., it defaults to .t.). Method New( cAlias, cFile, cDriver, lShared, lReadOnly ) Class TData The reason you can't just do an flock() on a shared database is that other users could ...
by James Bott
Thu Jun 22, 2017 3:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TDatabase or my error?
Replies: 3
Views: 613

Re: DBF editors

... 2. and before reopening insert cFileName := UPPER(cPath+cFileName+cExtension) ACTIVATE DIALOG oDlg CENTER SELECT (cAlias) IF lShared USE cFileName := UPPER(cPath+cFileName+cExtension) TRY dbUseArea( .F. , cRdd , cFileName , cAlias , .T. , .F. ) CATCH MsgInfo( cFileName + CRLF ...
by Otto
Tue Sep 13, 2016 2:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF editors
Replies: 16
Views: 4476

Re: xbrowse edit dbcombo

... persue. ------- Using Tdatabase() is new to me and the burning question is, what setup is needed to use your example in a multiuser environment. ( lShared, lBuffer ? ). Is there a sample somewhere, I could reference ? Gratefully, Bruce S. TDatabase by default is set for multiuser use and is buffered. ...
by nageswaragunupudi
Mon Mar 16, 2015 1:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse edit dbcombo
Replies: 11
Views: 3292

Re: xbrowse edit dbcombo

... persue. ------- Using Tdatabase() is new to me and the burning question is, what setup is needed to use your example in a multiuser environment. ( lShared, lBuffer ? ). Is there a sample somewhere, I could reference ? Gratefully, Bruce S.
by brewster
Mon Mar 16, 2015 12:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse edit dbcombo
Replies: 11
Views: 3292

Re: ADS error en apertura de DBF con alias

REQUEST DBFCDX, DBFFPT

//*** USE EL DRIVER... RDDSETDEFAULT()

DBUSEAREA(.T.,RDDSETDEFAULT(),cPatTab+cNomTab,cAliTab,lShared,lReaOnl)

russoft ltda
by russimicro
Wed Mar 05, 2014 9:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADS error en apertura de DBF con alias
Replies: 13
Views: 1691

Re: ADS error en apertura de DBF con alias

... USE (cPatTab+cNomTab) ALIAS &cAliTab SHARED NEW VIA (cDriVer) INDEX (cPatTab+vIndTab[1]) ELSE DBUSEAREA(.T.,cDriVer,cPatTab+cNomTab,cAliTab,lShared,lReaOnl) ENDIF
by russimicro
Sun Mar 02, 2014 1:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ADS error en apertura de DBF con alias
Replies: 13
Views: 1691

Re: DBUSEAREA function.

... a database file in a work area. Syntax DbUseArea( [<lNewArea>] , ; [<cRddName>] , ; <cDatabase> , ; [<cAlias>] , ; [<lShared>] , ; [<lReadonly>] , ; [<cCodePage>] , ; [<nConnection>] ) --> NIL Arguments <lNewArea> If .T. (true) is passed ...
by Rick Lipkin
Wed Jul 10, 2013 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBUSEAREA function.
Replies: 2
Views: 1267
Next

Return to advanced search

cron