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 9,552 of 9,834   
   Tony McGuire to Joseph Misko   
   Re: String to Date Conversion Error   
   18 Dec 08 14:59:18   
   
   From: png.paradoxcommunity@com   
      
   Joseph Misko wrote:   
      
   > In the script, I build a string based on criteria that is later   
   > converted to a date. In this case the string is "07/01/2008" and I am   
   > getting the following errors on the stack in Paradox X3.   
   >   
   > (1) Date:Proc:Date: The value of the parameter, 'value', is not legal.   
   > Cannot convert parameter to a date.   
   >   
   > (2) Could not convert data of type 'String' to type Date'. The types are   
   > mismatched or the values are incompatible.   
   >   
   > (3) Invalid character: 07/01/20"0"8   
      
      
      
   Show the code!   
      
   What code is resulting in the error(s)?   
   What is the code converting the value to a date, or trying to?   
      
   What happens if you do   
      
   msginfo("",date("07/01/2008"))   
      
   on that specific, same system?   
      
   --   
   ---------------   
   Tony McGuire   
      
   --- 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