Adams*4325
Smithfield*32
Johnson*323
etc.
where "*" is a null byte.
I'm using:
<ccode>
// get handle to new record
hRecord = DmNewRecord(currentIndex, &position, insertSize);
// lock it
pRecord = MemHandleLock(hRecord);
// clear it
DmSet(pRecord, 0, insertSize, 0);
// copy in the data
DmStrCopy(pRecord, offset, pContact->Fields[contactLastName]); // Char *
offset += StrLen(pContact->Fields[contactLastName]) + 1;
DmWrite(pRecord, offset, &pContact->DBIndex, sizeof(pContact->DBIndex));
//UInt16
// unlock handle
MemHandleUnlock(hRecord);
// release record
DmReleaseRecord(currentIndex, position, true);
</ccode>
It's storing the string fine, but failing to store the integer. Where am I
going wrong here?
-------------------------------
Christopher Tacke, MCSD
Associate, Rubicon Technologies
"Chris Tacke" <cta...@rtmobile.com> wrote in message
news:Mss1u61...@www.massena.com...