|
-
Aug 26th, 2010, 01:30 PM
#10
Re: Conufused boolean comparation
bHieraquia should be false only in this scenario:
InStr("GC", HierarquiaEstrutura) = 0 and permTotal=0/false
You should check those values. Remember InStr() is case-sensitive
Now if permTotal is True, see if you are hiding that control elsewhere in your project. Maybe in a click event of your listboxes or buttons? Form resize event? Search your project for: fraFiltrosB.Visible
I don't see permTotal declared anywhere. Assume declared at top of your form or in a module.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|