P10 SP3
I have a form which has the following code in the init method:
if formatExist("hh:mm:ss am") then
formatSetTimeDefault("hh:mm:ss am")
else
msgInfo("Status", "Requested format does not exist.")
endIf
There are two indentical tables:
ReferringLetter.db
LettersSent.db
In a daughter form I have code which does the following:
In ReferringLetter.db, a field called TimeField which is a "Time" field
has
the time a letter was sent. The time is inserted via a TCursor:
letterTC.Timefield = Time()
Then the same daughter form copies the record from ReferringLetter.db to
LettersSent.db :
PermTC.copyRecord(LetterTC)
Each time I get the following error:
Bad Hour Specification >>>invalid character.: "N"
The second table was created by copying the first table and the fields, of
course, are exactly the same.
And if I manually do Tools > Utility> Add
I don't have a problem. It adds nicely.
Obviously, I am missing something.
Thanks in advance,
Craig