>U are right but I think before opening the file people can scan it.
Why do I have to do something to help YOU when you could have had some forethought and posted it as a text file or if you wanted to keep some sort of formatting you could have posted a *.RTF file!
>I think if u want to help someone, u have to have some pain, may be it is ur valuable time.
Pain? Why do I have to go through pain to alievate your pain? Don't think so and you are right. It is our time and trying to decipher the u's, ur's, tks, etc. only adds to our pain or our time in trying to decipher exactly what you are trying to say.
>If people don't want to help others, I think these helping forums could not exist.
True
>OK, I will try to clear my problem here itself. I am having a form containing several records.
>In each record there are two MSFlexGrids which are populated from data files while a particular record is displayed (by Searching).
>I want to print the displayed record with both MSFGrid data as they appear, i.e. as two tables.
>The number of columns for both the grids are different & no of rows depend on the data in these grids.
>In printout other labels, textboxes, combobox.text, etc must appear with data of both grids as two tables having top row as Field names (top row of MSFlexGrid) and other rows as data in cells.
Okay, test project time. Start new standard exe, add MSFlexGrid and Name it FG.
Private Sub Form_Load()
FG.Row = 0
FG.Col = 0
FG.Text = "Record No"
FG.Col = 1
FG.Text = "Field1"
End Sub
Okay, that shows you how to enter information into any cell you want.
>Both grids can be related with the unique ID of displayed record, e.g. for 7th record it is 7.
>I think I am clear about my problem. Also I hope a person like u who took pain in seeing my problem will certainly help me.
>I am using VB6 with DataReport & DataEnvironment. If done by programming, i.e. without DataEnvironment, it will be of great help.
>Whenever I get Report it shows each row of data with row of field names before them.
BTW. I do not need to read about your beliefs nor do I need you to try and push your social mental disease upon me. This is a technical forum and not a social gathering forum so I keep or try to keep my beliefs to myself...
Good Luck