Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding dummy rows to reslt set

Status
Not open for further replies.

Chonnad

Technical User
Dec 25, 2002
5
IN
Hi,
I want to add 5 dummy rows to the result set. I tried using AddRow() in the Fetch() method of a subclass of AcTextQuerySource but it doesn't seem to be adding rows. Please help.

Regards,
Srikant.
 
This might be coming too late, and for that I apologize. If you did not find a resolution to this problem you need to do the following in the Fetch() method in whatever way you want to loop through to create 5 rows (Do While, etc) based on whatever logic is needed:


Dim NewRow As DataRow 'name of the datarow in your report

Set Fetch = Super::Fetch()
Set NewRow = New DataRow
NewRow.txtControl = "" 'name of a control in your frame
Set Fetch = newRow




Hope this helps,

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top