Supposed that I have a table like this:
**tbl_purchase**
PurchaseID
Date
Supplier
**tbl_purchaseitem**
PurchaseItemID
PurchaseID
I want to create a query where it will return something like:
**Header**
PurchaseID = 2
Date: 4/26/12
Supplier:stackoverflow
*Items*
PurchaseItemID:3
PurchaseID:2
PurchaseItemID:4
PurchaseID:2
PurchaseItemID:5
PurchaseID:2
Sir/Ma'am your answers would be of great help and be very much appreciated.