ASP - COMO SE USA UN BOF Y EOF NEGATIVAMENTE

 
Vista:

COMO SE USA UN BOF Y EOF NEGATIVAMENTE

Publicado por Esthela (9 intervenciones) el 03/08/2001 18:18:27
HOLA MI PREGUNTA ES COMO LE HAGO PARA EN VES DE DECIR
IF TABLA.BOF AND TABLA.EOF THEN
QUIERO ESTA LINE PERO EN NEGATIVO ,COMO SE LE HACE? OJALA Y ME PUEDAN AYUDAR .
GRACIAS
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:COMO SE USA UN BOF Y EOF NEGATIVAMENTE

Publicado por Polaco CL (20 intervenciones) el 03/08/2001 19:58:46
Hola

Para hacer eso debes poner NOT , por ejemplo
if not Recordset.eof and not Recordset.bof then

Estas propiedades son Booleanas, osea, o son verdaderas o falsas... tambien puedes hacerlo...

if Recordset.eof = false and Recordset.bof = false then

Ok, espero haberte ayudado

Adios
Miguel Peredo
CHILE
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:COMO SE USA UN BOF Y EOF NEGATIVAMENTE

Publicado por Cesar (21 intervenciones) el 05/08/2001 07:28:53
el consejo anterior esta bien, pero la sintaxis correcta es

IF NOT tabla.BOF AND NOT tablaEOF THEN ...
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:COMO SE USA UN BOF Y EOF NEGATIVAMENTE

Publicado por Luis de Diego (179 intervenciones) el 18/08/2001 13:34:24
Holas:
Visual basic no reconoce Mayusculas o minusculas, asi que cualquiera de las dos formas está bien, incluso esta:

If NoT tabla.BoF AnD NoT tabla.eOf ThEn

Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar