Search found 61 matches: forcing

Return to advanced search

Re: Mark field as required

... is doing things, so that situation can be modified, rectified, or just plain understood at some later date. This is much more human than merely forcing the data into some arbitrary format whose correctness is judged mostly on its compliance to a file schema rather than to a human need. My first ...
by James Bott
Tue Jul 25, 2023 1:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mark field as required
Replies: 23
Views: 1765

Re: Problem with xBrowse (Fixed)

... you have to write cSql := "SELECT H.*,S.SUC_NOM FROM HdrVda H LEFT JOIN Branches S ON H.HDR_SUC = S.SUC_NUM ORDER BY HDR_FOL" That is, forcing the identification of each object on the LEFT table with its alias "H". I think it is something related to XBROWSE. Perhaps the master ...
by Cgallegoa
Tue Jun 06, 2023 8:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with xBrowse (Fixed)
Replies: 34
Views: 2146

Re: Forcing to unlock a record

There is a detail in the ads that must be observed when locking a record. In a situation where we use a register to follow a sequence of numbers automatically and in the attempt at the exact moment another user is executing the addition of the number (Example) the register must be refreshed. In my t...
by Giovany Vecchi
Thu Dec 01, 2022 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 784

Re: Forcing to unlock a record

Driessen, I think there is another way to handle your problem, but it is a bit complicated. Instead of the program locking a record when a user opens it and only unlocking it when the record is saved, the record is only locked for a split second when the record saved. Thus, nobody can walk away leav...
by James Bott
Thu Dec 01, 2022 1:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 784

Re: Forcing to unlock a record

hi, when type "compmgmt.msc" i can "see" which File are open by which User you can "close" File to terminate Connection https://i.postimg.cc/VNH3zpRj/Compmgmt.png as i remember you can use a Powershell Script to get a List but you need access to "Se...
by Jimmy
Thu Nov 17, 2022 8:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 784

Re: Forcing to unlock a record

nageswaragunupudi wrote:Well behaved programs never lock a record and wait for a user action.
Lock only when all data is ready, then lock and write all data and unlock immediately.
The entire action should not take more than a fraction of a second.


Perfectly said. I completely agree.
by Enrico Maria Giordano
Wed Nov 16, 2022 8:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 784

Re: Forcing to unlock a record

Hello, If a record is locked by someone else, is there a possibility that this record can unlocked by another user? Thank you. Not possible. In ADS, Administrator can kill a user. That frees all his locks. Well behaved programs never lock a record and wait for a user action. Lock only when all data...
by nageswaragunupudi
Wed Nov 16, 2022 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 784

Re: Forcing to unlock a record

James, I agree that this could lead to drama's. But I have a reason. I have customers who use my application in a remote desktop environment. Sometimes they just close the session without login out. So the session stays active, the files opened and the records locked. They start a new RDP-session, l...
by driessen
Wed Nov 16, 2022 5:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 784

Re: Forcing to unlock a record

Michel,

I would think that would become a nightmare. What is the reason that you want to do this?

James
by James Bott
Wed Nov 16, 2022 4:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 784

Re: Forcing to unlock a record

My thoughts:

Each lock is associated with a workarea. Each workarea is managed by the terminal or session of each user.

Perhaps ADS could because it is a client/server system.

But I think Harbor can't do that.

I have needed it on some occasion and I have not been able to do it

regards
by hmpaquito
Wed Nov 16, 2022 4:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 784

Forcing to unlock a record

Hello,

If a record is locked by someone else, is there a possibility that this record can unlocked by another user?

Thank you.
by driessen
Wed Nov 16, 2022 3:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Forcing to unlock a record
Replies: 10
Views: 784

INI-files and mod harbour

... So, in - your application you can use this function in the place of GetPvProgString at all places. - Otherwise this function reads from cIniFile, forcing extention "dbf". - If the dbf does not exist, returns the default value - If the dbf exists, then opens the dbf and chceks for the ...
by Otto
Mon Jan 03, 2022 8:21 am
 
Forum: mod_harbour
Topic: INI-files and mod harbour
Replies: 2
Views: 223

Easyreport " the reverenge"

... it from GitHub, if someone has compiled it with xmate if you can send me the compilation file because I really can't compile it Since someone is forcing me to use EasyReport I have to understand and make all of you understand the problems to better solve them Looking at the compiled version found ...
by Silvio.Falconi
Fri May 15, 2020 4:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Easyreport " the reverenge"
Replies: 3
Views: 711
Next

Return to advanced search