Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor with two Parameters
Message
 
To
26/10/2001 11:21:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00573666
Message ID:
00574634
Views:
28
>I create a cursor that pulls up records that are in a specific stage of a sign-off cycle(work flow). The powers that be now don't just want the Que to be a department basket but be able to make assingments at will. This will also give them the option to not assign it at all. What I need my cursor to do is complile the assigned to a particular person plus any not assigned that belong to their department. I would only exclude those assigned to someone else. Note the unassigned have blank fields for assignment.

Use an 'OR' operator.

sele * from yourtable where assign=myname OR (empty(assign) and dept = Mydept)

Good luck getting the view designer let you do this though.
You may need to create the view programatically.

Alek
Alek Massey
- The only stupid question is one left unasked -
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform