Search found 160 matches: archives

Return to advanced search

Re: Sample for Lan network

... instead james told me to use only one folder with set default to me is not good 2) at the beginning of the program I have to go to check that the archives and indexes exist in the folder because I have to do it because I do not trust the people who use computers and that fuss between folders, ...
by Silvio.Falconi
Tue Nov 06, 2018 5:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sample for Lan network
Replies: 8
Views: 1832

Re: dbfs on Network : wich performance method?

a question I have a dbf on the root of application I use it for check : on this file I have the folder of archives and the year of operation sample year => 2007 DBFPATH = > 2007\data then there are info data of school . these data are used on reports and other procedures ...
by Silvio.Falconi
Tue Oct 30, 2018 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbfs on Network : wich performance method?
Replies: 26
Views: 5478

Re: dbfs on Network : wich performance method?

... TDatabase has been working fine all along. Perhaps you were making programming errors. 2) Seeing your source I saw you create at init the index of archives when the app is opened then call oCustomers := TCustomers():new() but Tcustomer class is linked to another class called Txdata why this ? why ...
by James Bott
Tue Oct 30, 2018 3:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbfs on Network : wich performance method?
Replies: 26
Views: 5478

Re: dbfs on Network : wich performance method?

... forum but only the newsgroup. I used this expression   USE Customer   DATABASE oDbf  So I had to find another way to use the archives on the local network. Later I preferred not to deal with this type of connection in order not to run into these errors. For you first test ...
by Silvio.Falconi
Tue Oct 30, 2018 8:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbfs on Network : wich performance method?
Replies: 26
Views: 5478

dbfs on Network : wich performance method?

Dear friends, I wish to ask what is the best way to manage archives in a network for an application I need to create. Until now I have limited myself to open the archives in an exclusive way because I have left the problem of the network. I have made ...
by Silvio.Falconi
Mon Oct 29, 2018 5:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: dbfs on Network : wich performance method?
Replies: 26
Views: 5478

Re: Aplicacion inicial

Cristóbal,

Do you know how to use this function http://doc.qt.io/archives/qt-4.8/sql-connecting.html with Fivetouch ?
by vilian
Thu Oct 18, 2018 11:51 am
 
Forum: FiveTouch
Topic: Aplicacion inicial
Replies: 10
Views: 5225

Re: Your EXE into a Web app

... Saludos Arturo Dear Arturo Nice work,I really like the clean style I think the css was used. are you using the dbf archives with Mr Carles tweb or convert them to (my) sql and then reconvert them when the same data loads them into your application?
by Silvio.Falconi
Wed Oct 17, 2018 7:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Your EXE into a Web app
Replies: 41
Views: 9055

Re: questions manage dbf

should I use tdatabase or mysql or ads? I do not have to manage large archives for which it is necessary in my opinion mysql or ads, now I have the only need to use archives that I can open from another part because I explain you I created a function that sends ...
by Silvio.Falconi
Thu Oct 04, 2018 4:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: questions manage dbf
Replies: 17
Views: 3871

Re: Archives on the local network

Silvio, You really need to use database objects. Then you can just do: oCustomer:= TCustomer():new()oCustomer:blank()         // blanks all the fieldsoCustomer:name:="Silvio"...wait some timeoCustomer:save()  You build in a check in the save() method to prev...
by James Bott
Thu Oct 04, 2018 1:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Archives on the local network
Replies: 4
Views: 741

Re: Archives on the local network

Something like (symplified):

Code: Select all  Expand view
FLOCK()

// Do your checking

// If checking is ok do your creation/saving

UNLOCK


So no user can execute the same operation at the same time.

EMG
by Enrico Maria Giordano
Wed Oct 03, 2018 2:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Archives on the local network
Replies: 4
Views: 741

Re: Archives on the local network

What do you mean by block you can give me an example
by Silvio.Falconi
Wed Oct 03, 2018 1:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Archives on the local network
Replies: 4
Views: 741

Re: Archives on the local network

Exactly as you said. You have to check for uniqueness and other conditions just before the record is created/saved. But this is not enough: you have to ensure that the whole operation (check + save) is not mixed with the same operation from another user. This is why lock is necessary. Probably (depe...
by Enrico Maria Giordano
Wed Oct 03, 2018 12:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Archives on the local network
Replies: 4
Views: 741

Archives on the local network

... before saving I have to check if there is already that code but then I have to check that there is already that name and this happens for all the archives. a total frazzle ... that's why I abandoned this system to work in the local network, at the programming level it wastes time to make these ...
by Silvio.Falconi
Wed Oct 03, 2018 10:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Archives on the local network
Replies: 4
Views: 741

Re: questions manage dbf

... the functions when we try them all turn then when one puts them in the big applications are created the problems, I never trusted to manage the archives in a local network for the countless problems that there are... It's not so easy . I created a "Netuse" type function but a little ...
by Silvio.Falconi
Wed Oct 03, 2018 10:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: questions manage dbf
Replies: 17
Views: 3871

Re: questions manage dbf

... remember how I must create it because in the last 10 years I have preferred to deal with simple little programs where there was no need for the archives on the net. now I present the problem of an application that must necessarily use a shared management of the archives because it connects in ...
by dagiayunus
Mon Oct 01, 2018 10:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: questions manage dbf
Replies: 17
Views: 3871
PreviousNext

Return to advanced search