ADOBASE ERROR

ADOBASE ERROR

Postby luisduque » Sat May 17, 2008 3:52 am

Hola Adolofo

Static Function IfTable(cTableName,oConnect)
Local aTables := {}

aTables := ListTable(oConnect)
IF ! ( cTableName IN aTables ) //es esta linea da un error
Return .F.
else
Return .T.
ENDIF

Return .T.
luisduque
 
Posts: 133
Joined: Mon May 12, 2008 4:13 pm
Location: Venezuela

Postby Adolfo » Sat May 17, 2008 2:58 pm

Luis..

Tu usas HARBOUR...
IN se encuentra en xHarbour

reemplaza esa linea por

IF aScan(aTables, cTableName)= 0

Prueba a hacer esto y me indicas

Eso
;-) Ji,ji,ji... buena la cosa... "all you need is code"

http://www.xdata.cl - Desarrollo Inteligente
----------
Asus TUF F15, 32GB Ram, 2 * 1 TB NVME M.2, GTX 1650
User avatar
Adolfo
 
Posts: 860
Joined: Tue Oct 11, 2005 11:57 am
Location: Chile


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 48 guests