why $update() isn’t working for me ? NEVER MIND
It started working when I closed and reopened the window
I think Rows lose their connection to the session object if you tinker in design mode with the code while running the window say
> On Jan 22, 2018, at 2:39 PM, Heir Das Goravani PhDx108 <email@example.com> wrote:
> Why am I getting a FALSE on this simple command
> Do iSqlRow.$update(iOldRow) Returns lReturnFlag
> And what does it do to iOldRow, why is that put in there like that?
> I think, am I wrong, that iSqlRow is the row that contains the updated data, and is being written back to the server via $update() I dont see why there needs to be anything in the parenthasis ???
> I understand using iOldRow as a place to hold the data the way it was before data entry, but use of that is risky, but I get you can put back the data the way it was really easily by copying old row to sql row and redraw
> is there a command that needs to be issued before an $update() command in particular, I have first in my save method, nothing before it, the data is changed and ready to be saved, I selected into iSqlrow, should work, but it doesn’t
> I hope my posting of multiple questions doesn’t tick anyone off, sorry if so, I’m sincerely working away here and run into many things at this early stage, and some of you are SO helpful, thank you
> Manage your list subscriptions at lists.omnis-dev.com
Manage your list subscriptions at lists.omnis-dev.com