why $update() isn't working for me ? NEVER MIND

Heir Das Goravani PhDx108 das at goravani.com
Mon Jan 22 17:45:54 EST 2018


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 <das at goravani.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 http://lists.omnis-dev.com

Das Goravani
das at goravani.com
http://www.Goravani.com <http://www.youtube.com/profile?user=RichardEdwardWurst>
 <http://www.youtube.com/RichardEdwardWurst>http://www.YouTube.com <http://www.youtube.com/>/RichardEdwardWurst
http://www.YouTube.com/DasGoravani <http://www.youtube.com/DasGoravani>
http://YouTube.com/JyotishStudio <http://youtube.com/JyotishStudio>










More information about the omnisdev-en mailing list