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,225 of 9,834   
   marco to ken   
   Re: renaming a file   
   26 May 08 19:10:46   
   
   From: n_sp_hum_marco.foglia@tucsoft.com   
      
   beside the other answers i would use string(month(today())   
      
   bye   
   marco   
      
   ken wrote:   
   > After I export a db file to a text file, I tried to rename it as a   
   > unique file. Since this process is going to happen every month, I would   
   > like to place the renaming process in a script. The script works until I   
   > try to rename it. The following is in the script.   
   >   
   > prod_file=":office:prod" +month(today())+".xls")   
   > if not rename("office:tmp_file.xls",prod_file) then   
   >    errorshow()   
   > endif   
   >   
   > The error message states :   
   > error in rename procedure, unknown table type   
   >   
   > What am I doing wrong.   
   >   
   > you may e-mail me at :   
   > whoknows@hal-pc.org.   
      
   --- 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