Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: AWAJAX XMLDIALOGADD ERROR

$
0
0
Re: AWAJAX XMLDIALOGADD ERROR
FoxInCloud
Re: AWAJAX XMLDIALOGADD ERROR
Nov. 30, 2012
10:20 am
3NN0M5WC5Show this entire thread in new window
Gratar Image based on email address
From:Tuvia Vinitsky
To:LLS

Thierry just sent me a build with a bug fix, and in that build the code was changed to what I showed. I also have the code you have in the version before this build. I was wondering why the change, maybe I will put it back.


Hi Tuvia

This is the code on my awserver.prg

LOCAL lcAnte_Addr, lcPost_Addr, loSelect AS abSelect OF abData.prg, lcAnteAddr* Sauver les alias ANTE et POST s'ils sont ouverts lcAnte_Addr = Iif(Used('ANTE'), Dbf('ANTE'), Space(0)) lcPost_Addr = Iif(Used('POST'), Dbf('POST'), Space(0)) USE IN Select('ANTE') USE IN Select('POST')* Définir l'état initial de l'écran comme l'état antérieur de l'utilisateur (conforme génération HTML) loSelect = CreateObject('abSelect', 0) USE (this.cPropsTableAddr(m.toForm.Name, 'Ini')) lcAnteAddr = this.cPropsTableAddr(m.toForm.Name, 'Old')COPYTO (m.lcAnteAddr) WITHCDX USE (m.lcAnteAddr) ALIAS ANTE

CreateObject('abselect',0) seem to be the good use of abselect..

Best regards

Anytime I call wform to open a previously opened and released form, this code generates a file not found on the lin indicated

LOCAL lcAnte_Addr, lcPost_Addr, loSelect AS abSelect OF abData.prg, lcAnteAddr* Sauver les alias ANTE et POST s'ils sont ouverts lcAnte_Addr = Iif(Used('ANTE'), Dbf('ANTE'), Space(0)) lcPost_Addr = Iif(Used('POST'), Dbf('POST'), Space(0)) USE IN Select('ANTE') USE IN Select('POST')* Définir l'état initial de l'écran comme l'état antérieur de l'utilisateur (conforme à la génération HTML) loSelect = abSelect(0) USE (this.cPropsTableAddr(m.toForm.Name, 'Ini')) lcAnteAddr = this.cPropsTableAddr(m.toForm.Name, 'Old')* lcantaddr has in it a df name like xxxxxxxxx_old, which is already open in the datasession * so this produces a file is in use error:COPYTO (m.lcAnteAddr) WITHCDX USE (m.lcAnteAddr) ALIAS ANTE



Viewing all articles
Browse latest Browse all 10393

Trending Articles