Hi,
I'm creating my first android app and everything works as expected while running from within WM. I generated the app for Android 6.0 and downloaded to my motorola android 7.0 phone. On my phone, I entered data into several config table with no issues. I then proceed to add to another table and I get a strange error. I'm using HFSQL tables with 8-byte Automatic ID (FreqDataHeaderID). The code is:
IF HCreationIfNotFound(FreqDataHeader) = False THEN
Info("create err " + HErrorInfo(hErrFullDetails))
END
IF HReset(FreqDataHeader) = False THEN
Error("hreset " + HErrorInfo(hErrFullDetails))
END
FreqDataHeader.StudentID = gnStudentID
IF HSave(FreqDataHeader) = False THEN
Error("hsave " + HErrorInfo(hErrFullDetails))
END
Info("preopen " + FreqDataHeader.FreqDataHeaderID)
This code is currently being run in the calling procedure for the edit screen. I've tried this in the end of init in the edit screen and get the same result. There is no preceding error.
The error message on the phone is:
hsave Error code: !d!
Level: no error
The "preopen" info message shows 0 for the headerID
The only difference I can see between this table and the ones that do work is this table has a timestamp field set at creation and 2 time fields I set in code.
Any suggestions would be greatly appreciated!
Thanks, Bill
I'm creating my first android app and everything works as expected while running from within WM. I generated the app for Android 6.0 and downloaded to my motorola android 7.0 phone. On my phone, I entered data into several config table with no issues. I then proceed to add to another table and I get a strange error. I'm using HFSQL tables with 8-byte Automatic ID (FreqDataHeaderID). The code is:
IF HCreationIfNotFound(FreqDataHeader) = False THEN
Info("create err " + HErrorInfo(hErrFullDetails))
END
IF HReset(FreqDataHeader) = False THEN
Error("hreset " + HErrorInfo(hErrFullDetails))
END
FreqDataHeader.StudentID = gnStudentID
IF HSave(FreqDataHeader) = False THEN
Error("hsave " + HErrorInfo(hErrFullDetails))
END
Info("preopen " + FreqDataHeader.FreqDataHeaderID)
This code is currently being run in the calling procedure for the edit screen. I've tried this in the end of init in the edit screen and get the same result. There is no preceding error.
The error message on the phone is:
hsave Error code: !d!
Level: no error
The "preopen" info message shows 0 for the headerID
The only difference I can see between this table and the ones that do work is this table has a timestamp field set at creation and 2 time fields I set in code.
Any suggestions would be greatly appreciated!
Thanks, Bill