Clear Record [message #360682] |
Sat, 22 November 2008 03:00 |
*munnabhai*
Messages: 157 Registered: March 2008 Location: Riyadh
|
Senior Member |
|
|
Hi Guyz,
EMPID
EMP_NAME
BASIC
HOUSING
HOUSING_PERIOD
TRANSPORTATION
OTHER_ALLOWANCES
STATUS
VACATION
TICKET
TICKET2
DESTINATION
MEDICAL
MEDICAL2
TRANSPORTATION2
HOUSING2
CAR_NO_ENG
CAR_NO_ARA
CAR_NAME
CAR_MODEL
VEHICLE_TYPE
CAR_SERIAL_NUMBER
CAR_COLOR
CAR_CHASIS_NO
I have the above table in the transporation field is the list item when i select the CAR in transporation it will enable the last records as below
(CAR_NO_ENG
CAR_NO_ARA
CAR_NAME
CAR_MODEL
VEHICLE_TYPE
CAR_SERIAL_NUMBER
CAR_COLOR
CAR_CHASIS_NO
and im taking the records from LOV into the above item
but if i select the another item in the transporation it the above item deactivate. but the records cannot be clear.
i want to clear the record if the company does not provide the car
how can i clear the particular above records ?
can anyone give me some good example. all these field in a single block.
Regards
|
|
|
|
|
|
|
|
|
Re: Clear Record [message #361062 is a reply to message #360795] |
Mon, 24 November 2008 23:57 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
EITHER
make the displayed fields non-database and only populate them when you want to use them, remembering that you have to populate the database field through the When-Validate-Item trigger on the non-database field when it is updated or inserted
OR
use a visual-attribute where the foreground and background colours are the same (this makes the text invisible) and set the insert and update properties to 'false'.
David
|
|
|