You are here:
All questions related to vb6 only. Excuse me for vb.net.
multiple years as a programmer.
Print Media
Math Skill Test VB6 Game Source Code published at Planet-Source --------------------------------------------------------------- http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=72322&lngWId=1 Holy Quran Source Code published at Planet-Source ------------------------------------------------- http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=72343&txtForceRefresh=82020091635140766 Right to Left Treeview & Listview Source Code published at Planet-Source ------------------------------------------------------------------------ http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=72376&lngWId=1
Commerce Graduate ICWAI
Wizard certificate from experts-exchange.com ============================================= http://www.experts-exchange.com/M_1214708.html Level 4 certificate from Yahoo!Answers ======================================= http://answers.yahoo.com/my/my;_ylt=AkjObjoI7Cr1x01J9syQ5RZ17hR.;_ylv=3
| User | Date | K | C | P | Comments |
|---|---|---|---|---|---|
| Rashmi | 05/06/10 | 8 | 7 | 8 | Thank u vry much....pls b thr ..... |
| Binal | 04/03/10 | 8 | 7 | 7 | |
| Sanjeev | 03/29/10 | 10 | 10 | 10 | I've done it Thank you very much ..... |
| Anez | 03/16/10 | 10 | 10 | 10 | wow...you're so nice.. you explain it ..... |
| Shay | 03/03/10 | 10 | 10 | 10 |
Change the code as follows, hopefully it should work, I do not have vb6 on this computer so I can not check : =============================================================================================
export report to TXT file ========================== DataReport1.ExportReport rptKeyText, "c:\Report\mytext1.txt" Dim obj As Object Set obj = CreateObject("Word.basic") obj.fileopen "c:\report\mytext1
Private Sub DataGrid1_Click() Load AnotherFormName AnotherFormName.Show AnotherFormName!Text1 = Me.DataGrid1.Columns(1) '2nd column value on the datagrid AnotherFormName!Text2
you need to change datagrid RecordSource sql as follows : With Adodc1 'Change the control name to match your own named control .RecordSource = "SELECT * From urtbl WHERE tblFieldId=" & Me.textboxname
you need to change datagrid RecordSource sql as follows : With Adodc1 'Change the control name to match your own named control .RecordSource = "SELECT * From urtbl WHERE tblFieldId=" & Me.textboxname
Answers by Expert:

©2012 About.com, a part of The New York Times Company. All rights reserved.