Getting Cashier ID as 0

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... :-)

Reply to
Vicky
Loading thread data ...

Show a sample of code you are using.

Rob

Reply to
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:

Reply to
Vicky

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.