That's a bit vague.
Are you hiding the record from a list or table view? From a Portal? From a value list? All are possible
Is the check box field defined in the products table?
Sorry here some more information eg
product 1 product 2
product code product code
hope this help the list above is what i am looking at but a i cut it down a bit and it in table view
That doesn't explain to me what change is brought about by "hiding" a product.
Is it that you don't want a hidden product to be visible on this layout? Or do you want to omit it from one of the drop downs on this layout?
if a select a towbar product it just shows the field i need to fill in and if a select a accessories it shows them as it is now it shows them all and it would look less if only the field need to be filled in showed up
Unfortunately, I can't really read the screen shot of your layout. Usually, you can click on an uploaded image and it pops up larger in it's own window but yours cannot be clicked like that for some reason.
Thus I don't know how you use this layout to "select a towbar product".
I can guess that you want fields on this layout to only appear if they are appropriate for the data selected in another field. It's possible to do this with an invisible portal set up to hide/reveal layout objects via a script trigger controlled script, but I'd be more sure of that if I could see your layout in greater detail and understand how you go about selecting a towbar product.
here the old program screen shots one for towbar screen and one for accessories some of the fields are not use but hope this helps
and the accessories
This is one of those cases where the system is very familiar to you and you know exactly what you want to happen, but when I look at your screen shots and read your posts, I get only a general picture of what you have and how it works.
What do you mean by "select a product"? You have a product shown, as far as I can tell, you'd select it by performing a find for it to bring it up on the layout. Is that what you mean?
And what items on the screen do you want to hide? Layout objects can be hidden by using portals or invisible tab controls. Values in value lists, such as the radio buttons here can be omitted if you set up a conditional value list--but I don't know if either of those are what you have in mind.
Please, while explicitly referring to items on the last two screen shots, walk me through the steps...
what i was thinking is a screen with 2 option one towbar or Accessoires and then the next screen has the infromation need for a towbar product if selected or for Accessories so when someone come to add data to the products they can fill just the information on the screen . I am not sure with is the easys or best way to do this . screen shot below may help
You can do this with an invisble tab control nested inside this tab panel. You make a tab control invisible by specifying zero width or transparent borders and a fill color that matches the background. Use two panels with zero width tab panel labels. While in layout mode, click each tab panel and use the Name box in the inspector to given each panel an object name, say "Accessories" and "Tow Bar" respectively. Put the layout objects that you want to see for a Tow Bar on one panel and the layout objects you want to see for accessories on the other.
Set up two script triggers to perform this script:
If [ specify field where you select "tow bar" or "accessories" here = "Tow Bar" ]
Go to Object ["Tow Bar" ]
Go To Object ["Accessories]
IF the value in the field where you specify this is a text field with exactly the same values as your object names, you can use a single go to object step that specifies that field in place of the above IF block.
Set a trigger that performs this script when the user selects either option. With radio butons and pop up menus, use OnObjectModify. With edit boxes and drop down lists, use ONObjectSave.
Then go to layout set up and set up the OnRecordLoad trigger to perform the same script so that it selects the correct panel each time you change records and also when you first bring up this layout.