A bug of mfg/pro?

gus

New Member
I don't why but it is strange. As we know, we can enter a module by typing the module NO. one by one or typing all the No. for example:
we can enter Product Line Maintenance by type 1.2.1 at the interface, or enter by 1 then 2 then 1.
Suppose a program(test.p) write by myself located at 98.11.12.10, just a report. I want to only someon permitted can access. so I write a statments like:
find first aaa_mstr where aaa_userid = global_userid and
aaa_menu = "test.p"

if not available aaaa_mstr then do:
message "PERMISSION DENIED!!!".
pause(2).
undo, retry.
end.

when I type 98,11,12,10 one by one, it's ok.(user exits in aaa_mstr can enter),but if I type 98.11.12.10, it seems no rows return(that is user exists in aaa_mstr can login), why?

Thank you.
 
Hi
I didn't heard on this issue but from looking at your test code I can only guess that it is something with the global_userid.
Try to pop up a message with its value ( "message global_userid view-as alert-box. "). This might help you to found out why it doesn't find the record you're looking for.
Falcor
 
Back
Top