G'day Ben,

At 08:36 AM 12/10/2001 +0100, you wrote:
>I'm using RunTime 6.5+ on NT server.
>
>This statement works fine under 6.1a:
>
>  Sel count(sys_column_name) +
>   into zCt from sys_columns +
>   whe sys_Column_Name = 'I' and +
>   Sys_Table_ID = (sel Sys_table_ID fro sys_Tables whe
>              Sys_Table_Name = 'DuesSched')

I had problems with crashes/interminably long delays when
querying the system tales directly, as, I believe, have others.

My solution is to adopt a recommendation from (I think it was
Dennis McGrath) to drop and recreate a table based on
SYS_COLUMNS from which I extract my query data.

This is code I run after any alteration to the structure:

DROP TABLE TmpSysColumns
PROJECT TmpSysColumns +
   FROM SYS_COLUMNS +
   USING *

Try that and see if it works.

>Under 6.5+ I get an access violation message and am dumped to
>the desktop.  When tracing under runtime, if I step one line at a
>time the same occurs. If I use f5, which takes me to within a few
>lines of the above and step using f10, then the problem command
>executes just fine and the app finishes loading.
>
>Just wondering if anyone else has had a similar experience...
>
>Ben Petersen

Warmest regards,


Tom Grimshaw
coy:    Just For You Software
tel:    612 9552 3311
fax:    612 9566 2164
mobile: 0414 675 903

post:   PO Box 470  Glebe  NSW  2037  Australia
street: 3/66 Wentworth Park Rd  Glebe  NSW  2037

email:  [EMAIL PROTECTED]
web: www.just4usoftware.com.au

This email and any files transmitted with it are confidential to the 
intended recipient and may be privileged. If you have received this email 
inadvertently or you are not the intended recipient, you may not 
disseminate, distribute, copy or in any way rely on it. Further, you should 
notify the sender immediately and delete the email from your computer. 
Whilst we have taken precautions to alert us to the presence of computer 
viruses, we cannot guarantee that this email and any files transmitted with 
it are free from such viruses.

Reply via email to