General information
Category:
Forms & Form designer
Title:
Cannot access the selected table
In my From. my button got such program.
pAirAcctDataBase = pub_airacctdatapath + 'account.dbc'
pSeaAcctDataBase = pub_seaacctdatapath + 'account.dbc'
pAirPrg = pub_airacctprgpath + 'caloverdueamt'
pSeaPrg = pub_seaacctprgpath + 'caloverdueamt'
OPEN DATABASE &pAirAcctDataBase
SET PATH TO &pub_airacctdatapath
set database TO &pAirAcctDataBase
SET PROCEDURE TO &pAirPrg additive
pAirDueAmt = CALOVERDUEAMt(pCompanyCode,pDate)
CLOSE DATABASE
OPEN DATABASE &pSeaAcctDataBase
SET PATH TO &pub_seaacctdatapath
set database TO &pSeaAcctDataBase
SET PROCEDURE TO &pSeaPrg additive
pSeaDueAmt = CALOVERDUEAMt(pCompanyCode,pDate)
Now. I can get the pAirDueamt and pSeaDueamt .
BUT It prompt an error "Cannot Access the selected Table"
I didn't put any tables in my form, and i use 'private data session"
How can solve it ???
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only