ADSCDX\5023 error

Post Reply
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

ADSCDX\5023 error

Post by dutch »

Dear All,

I've got this error while to use DbCloseAll() function with ADS. It has data open but error as subject and code.

Code: Select all

Application
==========
   Path and name : D:\V5\EZ4POS\Release\EZ4POS5.EXE (32 bits)
   Gr๖฿e : 4,847,616 bytes
   Time from start : 0 hours 0 mins 14 secs 
   Error occurred at : 11/09/13, 13:38:24
   Error description : Error ADSCDX/5023  Read error

Stack Calls
===========
   Called from : D:\V5\EZ4POS\EZCASH1.PRG => (b)CASHIER(41)
   Called from :  => DBCLOSEALL(0)
   Called from : D:\V5\EZ4POS\EZPOS.PRG => NOWQUIT(2979)
   Called from : D:\V5\EZ4POS\EZPOS.PRG => LOGOFF(3949)
   Called from : D:\V5\EZ4POS\EZPOS.PRG => (b)MAIN(466)
Thank you in advance for any help and idea.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dima
Posts: 4
Joined: Thu Nov 10, 2005 6:40 pm

Re: ADSCDX\5023 error

Post by Dima »

.........
hb_waEval( {|| (Alias())->(DbClearRelation())} )
dbCloseAll()
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: ADSCDX\5023 error

Post by dutch »

Dear Dima,

I think so. Because the new xHarbour 1.2.3, I cannot close the main database file before close related file. It will show an error "Read Error".

Which library has contain the hb_waEval() function? I cannot compile with xHB 1.2.3 and FWH1305.
Dima wrote:.........
hb_waEval( {|| (Alias())->(DbClearRelation())} )
dbCloseAll()
Thanks in advance.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Dima
Posts: 4
Joined: Thu Nov 10, 2005 6:40 pm

Re: ADSCDX\5023 error

Post by Dima »

hb_waEval() -> Harbour 2.0

Code: Select all

amas:=aGetWorkAreas() // FW
   if len(amas)#0
 for each als in amas
(als)->(DbClearRelation())
 next
   endif
DbCloseAll()
 
User avatar
dutch
Posts: 1395
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: ADSCDX\5023 error

Post by dutch »

Dear Dima,

Thank you so much, it works fine now.
Regards,
Dutch

FWH 19.01 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio
FWPPC 10.02 / Harbour for PPC (FTDN)
ADS V.9 / MySql / MariaDB
R&R 12 Infinity / Crystal Report XI R2
(Thailand)
Post Reply