home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 8,833 of 9,834   
   Craig to Craig   
   Re: Bad Time spec   
   28 Sep 07 14:08:18   
   
   From: craig.futterman@nospam.comcast.net   
      
   Nevermind.   
   I figured it out.   
   The code was fine. It was TCursor pointing to the wrong table.   
   I feel like an idiot.   
   Oh well...nothing new.   
   More questions, I sure will come.   
   Thanks,   
      
   Craig   
      
      
   "Craig"  wrote in message   
   news:46fcaefc$1@pnews.thedbcommunity.com...   
   > 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   
   >   
   >   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca