Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2002
    Posts
    3

    Question Unanswered: queries that open

    Hi
    Iam trying to run a couple of queries thru VB by using the command

    DoCMD.OpenQuery "QueryName"

    and when the code runs, the query is shown in datasheet view, it just pops out . I dont want it to pop out I just want to run them...I have even tried requery but it gives some error ..
    can anyone help
    thanks

    Jeet

  2. #2
    Join Date
    Feb 2002
    Location
    North Carolina
    Posts
    13
    Jeet--

    For what purpose are you running the query? Are you adding, editing or deleting records? If you need to manipulate the data in the underlying table, then creating a recordset may serve your purposes better.

    Hope it helps--

    j-Dog

  3. #3
    Join Date
    Jun 2002
    Posts
    3
    Hey

    thanks for your reply
    I am trying to run Select Queries on which i base some other queries...I do not want to manipulate the data in the table I just need to select it to base someother queries...

    Jeet



    Originally posted by jaydog96
    Jeet--

    For what purpose are you running the query? Are you adding, editing or deleting records? If you need to manipulate the data in the underlying table, then creating a recordset may serve your purposes better.

    Hope it helps--

    j-Dog

Posting Permissions

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