len( oqry) me devuelve mal un valor (creo)

len( oqry) me devuelve mal un valor (creo)

Postby goosfancito » Tue Apr 05, 2022 9:40 pm

Hola.
La tabla "no tiene registros" y este codigo (mariadb) me devuelve que tengo 91, estoy intentando hacer un
procedimiento para verificacion de usuario

Code: Select all  Expand view
 LOCAL oQry, cSql

   TEXT into cSql
   Select
   *
   FROM tbautoriza AS a
   WHERE a.usuario = ?
   ENDTEXT

   //aca qyedi

   oQry := ::oCnx:QUERY( cSql, { ::vGets[ 1 ] } )
 
FWH 21.02
Harbour 3.2.0dev (r2104281802)
Copyright (c) 1999-2021, https://harbour.github.io/
User avatar
goosfancito
 
Posts: 1954
Joined: Fri Oct 07, 2005 7:08 pm

Re: len( oqry) me devuelve mal un valor (creo)

Postby nageswaragunupudi » Wed Apr 06, 2022 8:08 am

There is no way we can verify and help you.

We have a suggestion.

If you connect to our FiveWin cloud server
Code: Select all  Expand view

oCn := FW_DemoDB( 6 )
 

we have many tables on the server. We have `customer`, `states` and many more tables.

If you prepare an independent small program with the tables on this server, we can run the program at our end and provide you support.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10507
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 50 guests