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,130 of 9,834   
   Liz McGuire to Craig   
   Re: another setGenFilter question   
   03 Feb 07 20:30:53   
   
   From: liz@paradoxcommunity.com   
      
   Craig,   
      
   stMR = "\\" + stMR   
      
   ...should do it.  The ObjectPAL help on setGenFilter explains that when   
   your filter criteria starts with a number, you need to put the \\ before it.   
      
   Liz   
      
      
   Craig wrote:   
   > I have a field called hospitalnumber and I want to use setGenFilter.   
   > The field looks like this 123-45-67 (with the dashes)   
   > When I use code:   
   >   
   >   AR["HospitalNumber"] =stMR ;// stMR is the hospitalnumber   
   >    TCBio.setGenFilter(AR)   
   >   
   > I get the error: "The filter expression in field HospitalNumber is not valid   
   >                        "Operation not applicable"   
   > Is this because of the dashes?   
   >   
   > I tried to break it apart and make it look like: 123/-45/-67. But that   
   > didn't seem to work.   
   > Any work arounds?   
   > Thanks   
   > Craig   
   > Craig Futterman   
   >   
   >   
   >   
      
   --- 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