お世話になります
電子レセ編集で、11月データーを初めて作成したときは問題ないのですが、RPPMANを1度終了した後、保存したデーターを読み込んだ場合ですが、上書き保存出来ず、エラーが出ます。
ご指示下さい。
System.NullReferenceException: Object reference not set to an instance of an object.
at RPPCAL.Records.ReceptRecordSet.SaveInfo()
at RPPCAL.Records.ReceptRecordSet.Save()
at RPPCAL.Views.Screens.CALCCSV画面.DoCSV保存()
at RPPCAL.Views.MainForm.<>c__DisplayClassd.<FunctionKeyInit>b__c(Object _, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData)
at System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut)
at System.Windows.Forms.ToolStripManager.ProcessCmdKey(Message& m, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
at RPPCAL.Views.MainForm.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
返信内容
電子レセ編集で、11月データーを初めて作成したときは問題ないのですが、RPPMANを1度終了した後、保存したデーターを読み込んだ場合ですが、上書き保存出来ず、エラーが出ます。
ご指示下さい。
System.NullReferenceException: Object reference not set to an instance of an object.
at RPPCAL.Records.ReceptRecordSet.SaveInfo()
at RPPCAL.Records.ReceptRecordSet.Save()
at RPPCAL.Views.Screens.CALCCSV画面.DoCSV保存()
at RPPCAL.Views.MainForm.<>c__DisplayClassd.<FunctionKeyInit>b__c(Object _, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData)
at System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut)
at System.Windows.Forms.ToolStripManager.ProcessCmdKey(Message& m, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
at RPPCAL.Views.MainForm.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.Control.ProcessCmdKey(Message& msg, Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)