Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Link Statement
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Link Statement
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01374084
Message ID:
01374084
Views:
67
Hi all

I have the following link statement that I need to select three column distinct, but i got error in the definition of the second and third column because the link only "look like" accept one parameter definition.

Dim lnqVendors = From Rows As UltraGridRow In Me.grdiList.Rows Distinct _
Select Rows.Cells.Item("PayeeFK").Value, Rows.Cells.Item("PaymentDate").Value, Rows.Cells.Item("PayeeAddressesFK").Value _
Where Rows.cells("CheckCol").value = True

Any help will be apreciated.


The source is a dataset in a grid. What I want is create a list of all vendors in my list that the payment date and location are the same so I can group the payments in one check.
Gregorio J. Placeres
IT Analyst
Uniform Accounting Network
Auditor of State of Ohio
88 East Broad Street
P.O. Box 1140
Columbus, Ohio 43216-1140

Tel. 614-728-4694

Gregorio_J@MSN.COM

http://www.gjpproductions.com
Reply
Map
View

Click here to load this message in the networking platform