SoloCodigo
		Programación General => Visual Basic 6.0 e inferiores => Mensaje iniciado por: jmcs en Lunes 30 de Diciembre de 2002, 02:01
		
			
			- 
				Tengo varios campos formato fecha, cuando todos tienen valor, no tengo ningun problema. El problema me surge cuando antes de insertarlos "insert into..."
 en el registro, realizo un control de todos los campos para saber sin son null. Y me da error en los de fecha. Aqui pongo como lo hago:
 txt_FECHAREGISTRO.Text = IIf(IsNull(txt_FECHAREGISTRO), "", (txt_FECHAREGISTRO))
 Gracias, Un saludo.
- 
				- No se si te servira asi, pero lo puedes intentar, bueno, asi es como yo lo haría : 
 
 if txt_fecharegistro.text  = "" then
 txt_fecharegistros.text = Date
 else
 end if