Home » Developer & Programmer » Forms » item property (form 6i)
item property [message #461079] Wed, 16 June 2010 08:39 Go to next message
lokeshsurana
Messages: 212
Registered: April 2010
Location: India
Senior Member
can we able to set runtime Database_item propert0y to no....|?
Re: item property [message #461083 is a reply to message #461079] Wed, 16 June 2010 08:50 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
Form builder help tells you whether or not any given property can be set at run time. Have a read.
Re: item property [message #461087 is a reply to message #461083] Wed, 16 June 2010 09:00 Go to previous messageGo to next message
lokeshsurana
Messages: 212
Registered: April 2010
Location: India
Senior Member
i checked that.....

My situation is...
i do not want duplicate record entries...?

there 3 database item which i am showing on form and while saving i created id

so if next time same combiantion get selected i dont want them insert ...


for that i want to set runtime item database item property
Re: item property [message #461090 is a reply to message #461087] Wed, 16 June 2010 09:06 Go to previous messageGo to next message
cookiemonster
Messages: 13938
Registered: September 2008
Location: Rainy Manchester
Senior Member
You're going to have explain that in more detail because I can't see why wanting to avoid duplicates would have anything to do with the database item property.
Re: item property [message #461132 is a reply to message #461090] Wed, 16 June 2010 12:58 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
No problem in you wanting to avoid duplicates; the idea is wrong, though. Oracle *should* raise an error if an attempt to insert duplicates violates a constraint. You, on the other hand, should handle it - check what ON-ERROR and ON-MESSAGE form triggers are used for; perhaps you'll find them useful.
Previous Topic: Export files from an OLE container
Next Topic: Filter the LOV values
Goto Forum:
  


Current Time: Thu Sep 19 22:44:15 CDT 2024