Search code examples
javacellanylogic

Anylogic - How to access a cell in a database


Is there anyway I can change the value of a cell in anylogic? I tried to use getValueAt as well as setValueAt. Every time I try there is an error saying getValueAt isn't working with a database. I am pretty sure this would work in java. Why isn't it working here?

Any suggestions or workarounds?


Solution

  • You need to use the insertInto function to add a new data row or use the "update" function to amend an existing cell, type these into the AnyLogic help for a code example.