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!

Search results for query: *

  • Users: scsii
  • Order by date
  1. scsii

    Adding a control to a form at run time

    Try this code in a new project!!!! The withevents keyword is used in this code, since it is necessary to be able to trap any events the user generates from these controls. Add a CommandButton to a form and call it Command1, then paste this code to the form and try running it. When the command...
  2. scsii

    FORMATTING A VB6 DATAGRID

    Sorry Hiccup for my misunderstanding you just have to right click on the dtagrid itself / properties and select the layout tabs. there you will be able to set alignment of every column you want and all other formatting hope it'll be helpful scsii
  3. scsii

    New trying to learn, Datagrid, data Environment, Query

    Hi ,think thaht this should help you select the datagrid and in the properties window set the dat source of the datagrid to the data Rnvironment and the data member to the command object you have created within the data Environment. scsii
  4. scsii

    VB6 Datagrid

    sSql = "Select * From tablename Where ......(Condition)" Set rsFind = New ADODB.Recordset rsFind.CursorLocation = adUseClient rsFind.Open sSql, adoConnect,adOpenKeyset, adLockOptimistic Set datagrid1.DataSource = rsFind datagrid1.ClearFields datagrid1.ReBind
  5. scsii

    Accessing Msaccess 2000 from VB6

    you can also use the Data Environment to connect to the database,then create command object within the data environment to manipulate data from your application hope its helpful!!! scsii
  6. scsii

    DataGrid column widths enlarging

    datagrid.columns(0).width = 5000
  7. scsii

    FORMATTING A VB6 DATAGRID

    Datagrid1.Columns(0).Caption = "ColumnTitle"
  8. scsii

    Data Grid - Allow editing on only one column

    Dim rsFind as ADODB.Recordset Dim sSql as string 'your Query String sSql = "Select * From tbl....." Set rsFind = New ADODB.Recordset rsFind.CursorLocation = adUseClient rsFind.Open sSql, adoConnect, adOpenKeyset,adLockOptimistic 'Use these codes but the sole problem is that...

Part and Inventory Search

Back
Top