@GetFiled Not working in web

I have problem that @GetField not show value from field in a web

I have computed text and i write below code but nothing was displayed because @getField(“Department”) nit return any thing on Web

Can any one help

KEY := @getField(“Department”);

LookUp :=@DbLookup(“Notes”: “ReCache”; @ServerName: MastrDB; “Department (Budget)”; KEY; “SubDept”);

Subject: @GetFiled Not working in web

I guess the big question here is “does the form ‘know’ it’s supposed to be looking things up?” Remember that all of this happens on the server, not in the browser, so unless there’s something triggering a page refresh, nothing the user does in the browser is going to have any effect.