Le 22/08/2012 20:07, John Rose a écrit : > This gets ever more mysterious. The 'Out of Bounds' error has now gone. > However, I'm back to the original problem, namely (even with Benoit's > instructions): > ...
I think I have a simpler solution for you. In revision #5070, I added a new event to the DataSource object: "BeforeSave". This event is raised just before the DataSource writes the current record to the database. And the BeforeSave event handler receives as argument the record, so that you can modify it just before saving it. That way, you will be able to define the current country automatically. By the way, I fixed two or three bugs in the behaviour of DataView and DataBrowser. Tell me if it works for you. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user