Results 1 to 2 of 2

Thread: SQL Expression

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Lahore
    Posts
    9
    What is the purpose of SQL Expression. How i can use it. Can Any One one give me some code for this. I wanna to use it from VB.

  2. #2
    New Member
    Join Date
    Jul 2000
    Location
    London UK
    Posts
    5
    It depends what you want to do really. The SQL expression is used to extract, update or modify data that is stored within a database.

    The sql expression has to be stored within a string variable.

    dim SqlStr as String

    SqlStr = "Select * from [Table Name];"

    That would select all the fields from the table "Table Name". After creating the expression, you need to bind this to a datacontrol within VB. This can be done be setting the recordsource of a DAO control to the Sql variable name or, by using the recordset datatype within VB


Posting Permissions

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



Click Here to Expand Forum to Full Width