5 pts.
 How to convert DBGrid database information to text files with VB 6
how to convert dbgrid database information in to text files (vb 6.0)

Software/Hardware used:
ASKED: January 3, 2009  3:12 PM
UPDATED: January 7, 2009  7:14 AM

Answer Wiki:
in VB programme create all text variable like grid coloumn, all variable type is text. and then type following code i.e. in grid their r 4 col. srno as string * [20] name as string * [50] Addr as string * [90] mobile as string * [10] dim i fopen ("c:result.txt") for i=0 to dbgrid.rows-1 srno = lset(dbgrid.textmatrix(i,0)) name =lset(dbgrid.textmatrix(i,1)) Addr =lset(dbgrid.textmatrix(i,2)) mobile =lset(dbgrid.textmatrix(i,3)) fwrite #, srno & name & Addr & mobile next fclose()
Last Wiki Answer Submitted:  January 7, 2009  7:14 am  by  BPD   15 pts.
All Answer Wiki Contributors:  BPD   15 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _