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 Westi 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: kpetas
  • Order by date
  1. kpetas

    ERROR 7777 LISTINDEX

    No I didn't. And the ListBox rowsource is this: SELECT Kide.Codigokide, Kide.Nombrekide FROM Kide ORDER BY [Codigokide];
  2. kpetas

    ERROR 7777 LISTINDEX

    ERROR 7777 YOU USE INCORRECTLY LISTINDEX Yesterday this code works, but today no, I don't understand For j = 0 To cad.ListCount - 1 If cad.Column(1, j) = Me.Lista3.Column(0, 1) Then cad.SetFocus cad.ListIndex = j Exit For End If Next
  3. kpetas

    slect a value in a listbox

    This is the Listbox rowsource SELECT Kide.Codigokide, Kide.Nombrekide FROM Kide ORDER BY [Codigokide];
  4. kpetas

    slect a value in a listbox

    I want to put selected one value in cad ListBox, It says me that I use incorrectly the ListIndex I have this code: For j = 0 To cad.ListCount If cad.Column(1, j) = Me.Lista3.Column(0, 1) Then cad.ListIndex = j End If Next
  5. kpetas

    query result in a textbox

    I want to put a SQL query result in a textbox but I don't know how. in Access strSQL = "SELECT NombreProyecto " strSQL = strSQL & "FROM Proyecto " strSQL = strSQL & "WHERE [CodigoProyecto]="& OpenArgs & "" And then... The query result is only one file Thank you
  6. kpetas

    Checkbox value

    How can I get if a check box is checked or no with VBA code? Thanks
  7. kpetas

    Problems with a SELECT

    How can I know if a SELECT return some information or it doesn't return any results, in VBA
  8. kpetas

    Query result in a textfield VBA

    I have this code: Private Sub codProyecto_Change() Dim strSQL As String strSQL = "SELECT *" strSQL = strSQL & "FROM Proyecto " strSQL = strSQL & "WHERE [Nombre proyecto]='" & codProyecto.Text & "'" Me.lstResultado.RowSource = strSQL End Sub This code take a name for a...
  9. kpetas

    insert into problem

    how can I input an autonumerical (incremental) number in a Data Base with VBA? I don't know how to write the INSERT INTO sentence I don't know if I'm explaining. table(ID,Name) the ID is primary key and incremental
  10. kpetas

    INSERT INTO IN VBA

    Thank you for your help, but nw I have another problem, how can I input an autonumerical (incremental) number? I don't know if I'm explaining. table(ID,Name) the ID is primary key and incremental
  11. kpetas

    INSERT INTO IN VBA

    I want to insert data in my DataBase (in acces) with VBA. How can I do it? I have an autonumerical field and I don't know how to excute a INSERT INTO command in VBA. Thanks

Part and Inventory Search

Back
Top