Home » Developer & Programmer » Forms » How to control current item in multiple records block?
icon5.gif  How to control current item in multiple records block? [message #250767] Wed, 11 July 2007 04:29 Go to next message
eshta
Messages: 33
Registered: February 2006
Location: Saudi Arabia
Member

Hi to all,

I have a data block displaying 10 record at a time.

I attached an LOV for an item filed.

I want to activate the lov button attached to the new record while the existed one will be deactivated to not allow users to update it.

So when i tried to enable or disable the lov button under when-new-record-instance trigger, it affected the 10 instances of that LOV.

Is there any function to control a specific item or button instance?
Re: How to control current item in multiple records block? [message #250805 is a reply to message #250767] Wed, 11 July 2007 06:51 Go to previous message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
This comes from memory:
you can query the record status. If it is a new record: perform the LOV code, if it is an existing one return without performing the LOV code. Set the field's update allowed property to false.

MHE
Previous Topic: Printing Problem
Next Topic: HOW ATTACH MENU TO FORM
Goto Forum:
  


Current Time: Fri Sep 27 00:21:03 CDT 2024