If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

[usr_login] content change after opening detail in a grid line !?

01-14-2015, 12:45 PM

Hello

[usr_login] is set in my login app, after login a treemenu is open , [usr_login] contain login name 'admin'

in this treemenu I click to an item how open a grid app (grid A), there I click on pen to open detail of select form app (form A): there isn't any global variable in those grid and form app. (detail is made with link into grid)

After that I choose another item, it's a control app how open a form app (form B), [usr_login] contain key nr of the record of form A ?????

I haven't seen this behaviour and I do similar things. Are you sure you aren't using usr_login in some other context i.e. a select where the value is retrieved from the db? You could try to go to application search and look where this variable is used.

Comment

I already check that, but in the second form B I don't use this variable.
I another way, if [usr_login] is used in an app you see it on global variables section !!!

I didn't see that in v7 !!!

Odd. In SC7 every [] variable would be in that section too. You could try to add echo's into the code to see where the variable is changed. There must be an obvious reason for that. Check if you use [] also behind comment lines. The php parser of Scriptcase has difficulties parsing commentlines and sees this as regular php.