|
-
Mar 29th, 2004, 11:10 AM
#1
Thread Starter
Junior Member
how to display flexgrid data in report without....
Hi Everyone
I want to be displayed data of flexgrid row in datareport without storing in data base
i tried it with textbox it is ok
but with flexgrid
it gives error likw subscript is out of range
i tried like given below
private sub command1_click()
With DataReport1.Sections(1)
.Controls("txtitemcode").Text = Form1!msflexgrid1.TextMatrix(newrow, 1)
End With
DataReport1.Refresh
DataReport1.Show
end sub
Please help me
Waiting for reply
Last edited by asifbhura; Mar 29th, 2004 at 11:54 PM.
bhuraAM
-
Mar 29th, 2004, 03:38 PM
#2
Hyperactive Member
Re: how to display flexgrid data in report without....
it gives error likw subscript is out of range
That means you are looping beyong the range of your flexgrid. For example, the size of your msflexgrid is 4x10, your current pointer must be at 5+ or 10+ or you may have nothing at all inside the grid.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|