Ayuda con base de datos
hola tengo un problema cuando creo una tabla ADO y la activo, me da el siguiente error, me han dicho que es por la llave primaria q no debe tener un campo vacio, y lo tengo claro; pero como puedo hacer para que este mensjae no me salga? alguien me puede ayudar. el mensaje es este:
"Project POSTgt.exe raised exception class EVariantTypeCastError 'Could not convert variant of type (Null) into type (String)'. Process stopped. Use Step or Run to continue." si alguien me ayuda se lo agradeceria mucho
"Project POSTgt.exe raised exception class EVariantTypeCastError 'Could not convert variant of type (Null) into type (String)'. Process stopped. Use Step or Run to continue." si alguien me ayuda se lo agradeceria mucho
utilizando el try-except
pones
try
//metes todo lo referente a la consulta
except
//pones un mensaje de lo que quieras que te salga
end;
pones
try
//metes todo lo referente a la consulta
except
//pones un mensaje de lo que quieras que te salga
end;
