Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/11/2007, 07:29
Avatar de Kelpie
Kelpie
 
Fecha de Ingreso: febrero-2002
Ubicación: NorthSpain
Mensajes: 609
Antigüedad: 23 años, 2 meses
Puntos: 8
Re: Manejo de Codigo en diferentes lineas

Yo suelo incrementar la variable tal que:

sSQL="SELECT ProductNumber, Category = "
sSQL=sSQL+"CASE ProductLine "
sSQL=sSQL+"WHEN 'R' THEN 'Road' "
....

En VB se podía dividir una línea larga poniendo un guión bajo y un espacio al final de cada línea físca, pero no se si funciona en ASP...:

sSQL="SELECT ProductNumber, Category = _
CASE ProductLine _
WHEN 'R' THEN 'Road' _
...
__________________
Kelpie