a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Hosting from $3.99 per month!

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions. dd

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Visual Basic Problem

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Visual Basic Problem
Page: [1]
 
accessman

 

Posts: 74
Joined: 9/13/2005
Status: offline

 
Visual Basic Problem - 9/15/2005 16:20:48   
Hi Everybody: Does anybody how to solve this problem?
First Query Result:
[Vendor] [Acc#] [Date1] [Paid1] [Date2] [Paid2]
Micro_____M1___1/2/05_$1
Micro_____M2_______________2/1/05__$2
Micro_____M1_______________3/1/05__$3
DHL______D1___4/1/05_$4

Second Query result, I want to make like this:
[ID] [Vendor] [Acc#] [Date1] [Paid1] [Date2] [Paid2]
1____Micro___M1___1/2/05_$1
2____Micro___M2________________2/1/05_$2
1____Micro___M1________________3/1/05_$3
3____DHL____D1___4/1/05

Why do I want to add ID field, because I want to do like this:
Query:
Select [id], [Vendor], [Acc#], min([Date1]),min([Paid1]),min([Date2]),min([Paid2])
From Second Query result
Group by [id],[Vendor],[Acc#];

Then it will show like this:
[Vendor] [Acc#] [Date1] [Paid1] [Date2] [Paid2]
Micro____M1___1/2/05_$1_____3/1/05_$3
Micro____M2________________2/1/05_$2
DHL_____D1___4/1/05

I will hide the Id column.
I want to reduce the row. The problem is that how to make the number in the id field, and also make the same number if the vendor name and Acc# is same the previous before.
Please help me to solve it. Thanks. Thanks.



Spooky

 

Posts: 26618
Joined: 11/11/1998
From: Middle Earth
Status: online

 
RE: Visual Basic Problem - 9/15/2005 16:27:05   
You seem to be asking the same question many different ways?
Please clarify exactly what you want, then ask it once.

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to accessman)
Page:   [1]
OutFront Discoveries

All Forums >> Web Development >> ASP and Database >> Visual Basic Problem
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts