View Full Version : frm-41050 update's but say's cannot update???
doomtheflame
03-21-2005, 01:19 PM
Im wondering something...
I had a colleague who made a form (master block and a detail block)
that does an update ((plsql) on a record of the detail) on the previous
record's ending date minus a day of beginning date of a new record
created... Block update property set to no item update property set to
no and then does execute_query to refresh the visual there would be no
problem...
I did the same thing and I have a frm-41050 error message cannot update
when I execute_query. I tried to set the block update property to yes
and the item to no so that i can use a when_validate on the block an
create my items with set_item_instance_property as a new record is
needed everything works fine on the update side when i execute_query.
The problem now is I get an (do you want to save the changes you have
made) when I go to next record in the master block even if i didnt
change nothing. Because the update property on the block sets the
status to changed...
But the real problem is that my colleague did it without changing the
block update property...
HOW DID HE DO IT
You will say ask him = the answer is he don't work here no more...
thanks in advanced for those who can enlighten me on the problem...
[Updated on: Mon, 21 March 2005 15:54]
Daniel Morgan
03-21-2005, 01:36 PM
doomtheflame wrote:
Im wondering something...
I am too. Why did you feel compelled to post the exact same thng 4 times
using two different subjects? Think the internet has too much bandwidth? ;-)
The version number and code snippet would help.
--
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu
(replace 'x' with 'u' to respond)
doomtheflame
03-22-2005, 05:55 AM
I am sorry I was new to this group and when I posted i didnt see my
message appear so i reposted...
As for the multiple quotes in this post i dont know how it happened...
SORRY...
Version 6i developper...
For code snippet i wouldnt say it would be that since I copied my
triggers in his form...
Its the propertie settings... I think but i am not sure...
MyLounge.com Site Map
Forum:
Cars,
Cell Phone,
Database,
Games,
Home Improvement,
IT,
Music,
School,
Sports,
Web Design,
Web Server,
Weight Loss
The MyLounge.com forum is intended for informational use only and should not
be relied upon and is not a substitute for any advice. The information contained
on MyLounge.com are opinions and suggestions of members and is not a representation
of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for
the accuracy, completeness or usefulness of any postings or the qualifications
of any person responding. Please consult a expert or seek the services of an
attorney in your area for more accuracy on your specific situation. Please note
that our forums also serve as mirrors to Usenet newsgroups. Many posts you see
on our forums are made by newsgroup users who may not be members of MyLounge.com
Term of Service
vBulletin v3.0.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.