Getting Cashier ID as 0

Mar 23, 2006 2 Replies

Hi...



I am getting cashier Id as 0 everytime ?? I am trying to display the Cashier Id on message box and everytime its displaying 0 :-(....



Please help me..



Vicky... :-)


Show a sample of code you are using.

Rob

Hi Rob,

Following is the code that I have used... It always goes to Else condition and displays 0....

Public Function Process(Optional mySession As Object) As Boolean Set mySession = CreateObject("QSRules.SessionClass") Dim Rec As Object Set Rec = CreateObject("QSRules.SessionClass") If mySession.Cashier.ID = 1 Then MsgBox (mySession.Cashier.FirstName) Else MsgBox ("Id is not know" & mySession.Cashier.ID) End If End Function

Please Help me... Waiting for ur reply... :-(

Vicky... :-)

"Rob" wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required