Results 1 to 2 of 2

Thread: Query

  1. #1
    Join Date
    Mar 2004
    Posts
    128

    Unanswered: Query

    Hi all,
    How can I run select query in VB?
    I need this query to link it to a form .
    Thanks...

  2. #2
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    465

    Re: Query

    Originally posted by wasimf
    Hi all,
    How can I run select query in VB?
    I need this query to link it to a form .
    Thanks...
    Use the metodo DoCmd.RunSQL :

    DoCmd.RunSQL "UPDATE Empleados " & _
    "SET Empleados.Cargo = 'Director regional de ventas' " & _
    "WHERE Empleados.Cargo = 'Director de ventas';"
    Saludos
    Norberto

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •