Topic: Make a non-Visible field Visible
Hi all,
I'm venturing into an area where I'm a total novice - scripting. I have been able to understand the scripts that you folks have provided (many Thanks), but I'm not yet able to create them on my own.
-
Having said that maybe you can help me to learn. Here's what I would like to do.
I have a field called RentOwn. And another called hPurchaseDate.
I would like to have PurchaseDate be Invisible unless RentOwn = Own
-
Here's what I tried and it doesn't work. I just read that the condition of an If statement needs to be Boolean so I can see why it's probably not working.
-
procedure frmHousing_cboRentOwn_OnExit (Sender: TObject);
begin
if frmHousing_cboRentOwn = "Own" then
frmHousing_hPurchaseDate := Visible
end;
-
Maybe you could steer me in the right direction.
-
Thanks, Frank