Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. SQL SERVER DATABASE

SQL SERVER DATABASE

Scheduled Pinned Locked Moved C / C++ / MFC
csharpdatabasesysadminhelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sirtimid
    wrote on last edited by
    #1

    I have a problem on updating an sql server database. The connection string that I give is as follows: "Description=description name;DRIVER=SQL Server;SERVER=server_name;APP=Microsoft\x00ae Visual Studio .NET;WSID=wsid;DATABASE=dbtest;Network=DBMSLPCN;Trusted_Connection=Yes" I open multiple tables of the database as snapshot. The first problem that I have is that I want to search for a value of a field in one of the tables, so I use the MoveFirst and MoveNext functions. The MoveNext function doesn't work! The second is that when I run the AddNew function I get the error "Recordset is read-only"! Does anyone know how can I get the privilege to move in and change the database? Thanks in Advance sirtimid

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups