<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 10, 2015 at 7:24 PM,  <span dir="ltr"><<a href="mailto:lloyd@writersglen.com" target="_blank">lloyd@writersglen.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":az" class="a3s" style="overflow:hidden">5. BUT, nim_links1/1 fails:<br>
<br>
50> nim_links1:put_record(Record).<br>
<br>
   ** exception error: no match of right hand side value {aborted,{no_exists,weblink}}<br>
      in function  nim_links1:put_record/1 (/home/lloyd/nindex/site/src<br>
     /nim_links1.erl, line 50)</div></blockquote></div><br>Your problem is that you have a record #weblink{} but the table you create is named ?TABLE which is the value 'links'. You have not supplied {record_name, weblink} so the default record name becomes the same as the table name. The error mnesia reports is because there is no table in which to place #weblink{} records, but you should have one named links. Test with `mnesia:table_info(links, all)`.<br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">J.</div>
</div></div>