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,613 of 9,834   
   Liz McGuire to Jim Giner   
   Re: using 'as' in queries   
   06 Feb 09 15:15:39   
   
   From: liz@paradoxcommunity.com   
      
   I don't know that it's a change.  Underscore has always been the character   
   used to trigger "make the next word an example element".  I suspect your   
   queries will work if you put quotes around such_and_such:   
      
   as "Such_And_Such"   
      
   ...Perhaps something has changed regarding when the _ is evaluated.  In   
   a QBE, I'm not sure what would happen.  In code, underscore is *always* what   
   represents an example element:   
      
   table.db | Field  |   
            | _join1 |   
      
   ...so I wouldn't expect underscores without quotes to be treated a anything   
   but part of an example element.   
      
   FWIW,   
      
   Liz   
      
      
   "Jim Giner"  wrote:   
   >Did something change between p5 and p9 as far as what one could use for   
   a   
   >result name in a query field?  I have some queries written in p5 where I   
      
   >checked a field and added "as such_and_such".  But when I tried to use the   
      
   >script containing these queries under p9 so that I could output the table   
      
   >results to a spreadsheet, the queries won't run.  By trial and error I've   
      
   >determined that p9 doesn't like underscores in the "as (name)" clause.   
   >   
   >Comments?   
   >   
   >   
      
   --- 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