how do I compare the results of a store procedure

davidnash

RAF DBA Man
Local time
Today, 13:13
Joined
Jan 25, 2006
Messages
14
I have a pass through query that executes a store procedure that shows the personnel ID number of the person logged in. The personnel Id number is retrieved from a personnel database that we have in existence.

The query works fine and retrieves my pers Id ok.

I now need to have that result compared to a field on a record to check whether they match, if they do certain parts of the form are then made visible.

Basically:
If Log In PersId = record PersId then
Then display other text boxes on the form.

cheers
Dave
 

Users who are viewing this thread

Back
Top Bottom