Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Paradox > Bad Time spec
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1287 of 1389
Post > Topic >>

Bad Time spec

by "Craig" <craig.futterman@[EMAIL PROTECTED] > Sep 28, 2007 at 03:36 AM

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
 




 2 Posts in Topic:
Bad Time spec
"Craig" <cra  2007-09-28 03:36:29 
Re: Bad Time spec
"Craig" <cra  2007-09-28 14:08:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Sun Jul 6 18:09:12 CDT 2008.