Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/04/2006, 09:41
Avatar de verinchi
verinchi
 
Fecha de Ingreso: septiembre-2004
Ubicación: Buenos Aires
Mensajes: 647
Antigüedad: 20 años, 7 meses
Puntos: 2
Veamos... yo haría lo siguiente:
Fnc_Sql = "Select max(IdEmpresa) AS Maximo from 902_DATOS_GENERALES "
registro5.Open (Fnc_Sql, conexion5, 3, 0x0002)

y luego
Id_New = registro5.fields.item(Maximo)

Espero esto te lo solucione
__________________
Why can't we not be sober?
www.partitorium.com.ar