Refresh Record from database syntax help

Can somebody explain the syntax for:

databaseManager.refreshRecordFromDatabase(foundset , 2)

How do I define the found set and what does the number mean please?

I’m assuming that it will update the records in the foundset to cater for changes made on the SQL server by direct query.

Any help / examples appreciated

Niall

Hi Nialle,

Please take a look at:

http://forum.servoy.com/viewtopic.php?t=811

The number is the record index in the foundset.

Paul

Thanks for this Paul but I get a verification error when I try this on line 3 pos 37

Is there something I’m not doing / changing?

BTW I’m a newbie when it comes to Java, sorry.

Niall

Niall,

The Forum breaks up the code: the second line needs to be connected to the first line and the 5th line to the 4th line.

Then it should work.

Paul