Hi,
After some hours of frustration :banghead: I have to ask you for help
I want to hide PICTURE1 if text1.value=<0
When I add this code to a button it works:
if text1.value=<0 then
picture1.visible=false
end if
When I add this code to the ON LOAD event it doesnt work. So i guess the value of text1 (value of a subform) is loaded after the ON LOAD event.
Can someone help me to solve this problem?
Thanks.
After some hours of frustration :banghead: I have to ask you for help

I want to hide PICTURE1 if text1.value=<0
When I add this code to a button it works:
if text1.value=<0 then
picture1.visible=false
end if
When I add this code to the ON LOAD event it doesnt work. So i guess the value of text1 (value of a subform) is loaded after the ON LOAD event.
Can someone help me to solve this problem?
Thanks.