Home » Developer & Programmer » Forms » FRM-40202:Field must be entered on two blocks with same table (Oracle 10G forms, windows XP)
FRM-40202:Field must be entered on two blocks with same table [message #477316] Thu, 30 September 2010 02:41 Go to next message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

I have two blocks, blockA and blockB, both from the same table which is tableX.

When I query from blockA and it has returned results, then I go to blockB and edit some data and save, there was no problem. But when I don't execute query from blockA or if the query returned zero results, then I go to blockB and edit some data then save, I got this error. THe cursor then go to blockA first item. So now I have to delete that empty row before saving.


Any suggestion?
Re: FRM-40202:Field must be entered on two blocks with same table [message #477319 is a reply to message #477316] Thu, 30 September 2010 03:05 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Two blocks on the same table* Why? Why not <one block> : <one table>? You wouldn't have such errors there.
Re: FRM-40202:Field must be entered on two blocks with same table [message #477320 is a reply to message #477319] Thu, 30 September 2010 03:08 Go to previous messageGo to next message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

I need the first block to display the data corresponds to the tree node being selected. Then the second block when I need to display the data to be modified/assigned. The second block must display all records.
Re: FRM-40202:Field must be entered on two blocks with same table [message #477336 is a reply to message #477320] Thu, 30 September 2010 04:46 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
Are supposed to be able to modify data in block A?
Re: FRM-40202:Field must be entered on two blocks with same table [message #477472 is a reply to message #477336] Thu, 30 September 2010 19:37 Go to previous messageGo to next message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

I need to modify data in BlockB. The blockA is for display data associated with my tree heirarchy.
Re: FRM-40202:Field must be entered on two blocks with same table [message #477502 is a reply to message #477472] Fri, 01 October 2010 03:35 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
So why have you got required set on any items in blockA? Or insert_allowed or update_allowed?
Re: FRM-40202:Field must be entered on two blocks with same table [message #477584 is a reply to message #477502] Fri, 01 October 2010 19:00 Go to previous message
wency
Messages: 450
Registered: April 2006
Location: Philippines
Senior Member

not allowed.

Problem solved.. I copied the post trigger query ti BlockB and missed to change some item names.
Previous Topic: Problem using List Item
Next Topic: Disable the fields using forms personalisations
Goto Forum:
  


Current Time: Wed Sep 18 20:13:28 CDT 2024