My code is like this:
For I = 0 To pDRA.RecordCount - 1
data = pDRA.ReadByIndex(I, UniqueId, Category, Attributes)
pUtility.ByteArrayToBSTR data, 0, 32767, Str
If Not (Mid(Str, 1, 1) = "E" And ((Mid(Str, 82, 1) = "U") Or (Mid(Str, 82,
1) = "I") Or (Mid(Str, 82, 1) = "R"))) Then
StrWriteBack = "E" + Mid(Str, 2, 80) + "Y" + Mid(Str, 83)
Str = "S" & Str
Print #2, Str
bArray = StrConv(StrWriteBack, vbFromUnicode)
pDRA.Write UniqueId, Category, Attributes, bArray
End If
Next
This program read data from palm and write it to a txt file.Now I also want
it make some changes on the palm data.
It keepks delete the original record and put the new record at the end of
the table.Who can tell me what's wrong with the code?
I know there is a Conduit forum,but seems I cant connect :(
Thanks for help.
Michael
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/