Jump to content

DBSet add record not saving?


DLS
 Share

Recommended Posts

Hi, I'm trying to add records to the adrbook table using DBSet and even though I get an index number back as a response, the new record isn't added to the table. Is there anything else I need to do? I can see that the index number is correct, and that the index file has been updated to account for the new record, but no record is created and no file is added to the address book folder (even after restarting the server).

 

Cheers,

Andrew

Link to comment
Share on other sites

My mistake - just worked it out. I was using the same structure for DBSet as DBGet, which was wrong - each name/value pair in DBSet sits inside it's own Column element, where all the names sit in a single Column in DBGet.

 

Cheers,

Andrew

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...