Hi,
I'm trying to put an ERROR message inside a subform that i have.
IF (TipoFact = TipoFact::Factura) THEN
BEGIN
IF ("Payment Method Code" = 'CONTADO') THEN
BEGIN
IF (Nombre ='') OR (Direccion = '') OR ( Poblacion='') OR ( Rut = '' ) THEN
BEGIN
ERROR ('incomplete');
EXIT;
END
END;
.....
when i press OK in the form and executes this part of code it show me before de error messsage, another error that say :"It's not possible to close the subform sales ..... because the system is busy" or something like that , and you click ok in this dialog en shows the error message.
how can i put an error here?
0
Comments
What trigger?
- give complete error message - this is useless
Have you tried searching the forum for "mandatory fields"
You shouldn't code on forms - use the table
http://www.BiloBeauty.com
http://www.autismspeaks.org
Error alone is enough.
|To-Increase|