Results 1 to 2 of 2
  1. #1
    4 Star Lounger
    Join Date
    Feb 2002
    Posts
    537
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Make Table (Access 2000)

    I am making a new table with a where field suborder = -1. The field Suborder is in the table Orders. I wonder how could i make also a new table TblOrderDetails , when there is no such a field in this table ?

    Dim strOrders As String
    strOrders = " SELECT orders.* INTO ordersTemp FROM orders WHERE orders.Suborder = -1"
    CurrentDb.Execute strOrders

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Make Table (Access 2000)

    You'd have to enumerate the fields you want to include, instead of using orders.*:

    SELECT ThisField, ThatField, OtherField INTO tblOrderDetails ...

Posting Permissions

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