Customer query...

Posts   
 
    
Anthony
User
Posts: 155
Joined: 04-Oct-2006
# Posted on: 22-Mar-2007 12:56:38   

Public Function Exists(ByVal sColumn As String, ByVal sValue As String, ByVal sColumn2 As String, ByVal sOperator As String, ByVal sValue2 As String) As Boolean

Want to create a function that you pass a column and value. How do i create this dynamic query.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 22-Mar-2007 14:50:13   

I find your post vague. What do you want to do with the "Exists" function that takes: Column Value Column2 Operator Value2 (foor example) Do you want to select from a specific table/entity all rows where the value of column1 > the value of column2? Please post the SQL query that you want to execute.

Did you look at the LLBLGen Pro manual "Using the generated code -> Filtering and Sorting"?