Attaullah Shah
Moderator
Post count: 70

I agree that asdocx should report a proper error message, instead of the function’s conformability error. I shall work on it and update it. Having said that, you can overcome the no observation error with the capture prefix. Therefore, if there is any such error, the code will run without throwing the said error and breaking the execution of the rest of the code.

sysuse auto , clear capture asdocx tab make foreign if make=="Subaru" & foreign==0