I found this funny peice of code in the app I work with and thought
I'd share it;

GetPositions:
        WhereAmI = .GetFieldValue("Type")
        If (WhereAmI = "DIRECT") Then
                IamaParent = "Yes"
        End If 
        If (WhereAmI = "INDIRECT") Then
                IamonTop = "Yes"
        End If 
        If (.NextRecord) Then
                GoTo GetPositions
        End If


- Frank

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:146754
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to