field num_med cannot be modified : <p>I've put this code in a speedbutonclick but when I'was trying to execute it I got the message that said field num_med cannot be modified 
the code is </p>

<pre><code>   procedure TAddEdiMedForm.SpeedButton1Click(Sender: TObject);
   begin
   DM.MedicamentTable.InsertRecord([ Edit1.Text, Edit2.Text, Edit3.text,
                                            Edit4.Text, Edit5.Text, Edit6.Text, 
   Edit7.Text]);
   CloseModal;                                              
   end;
</code></pre>
