Bug when data displayed in a portal is not saved.

I was working with portals this week and noted the following:
a) I was getting bizare results when querying data displayed in a portal I think because the data displayed in the portal was not saved to the backend database. Problem resolved when I would reload data in the primary form prior to doing a query on the data displayed in the portal.

// I did this to force it to save the data in the portal prior to querying
var foundset = controller.duplicateFoundSet()
controller.loadRecords(foundset)

Windows 2.0 beta 4 Firebird 1.0

John McCann

controller.saveData() didn’t do the trick??

Can you send us a solution that behavious that way?

jcompagner:
controller.saveData() didn’t do the trick??

Can you send us a solution that behavious that way?

Couldn’t get controller.saveData() to work. The solution was sent.

Thanks

John McCann

Johan,

I looked at this again. I only see the problem if I query a table immediatly after altering the tables data via a portal. I am able to get around the problem with controller.saveData().

Thanks

John McCann