Dennis,
There is no "bit" which can be filipped in the ".RB1" file to convert a table
to a view. In 6.5+ for Dos if you try to create a view with the same name as a
table you get an error mesage.
I would echo previous comments that you need to thorough review code in command
files and/or determine if commands were issued from "R>".
Step wise if the table exists you would first need to delete the table with a
"DROP tABLE" command. You would then need to issue a "CREATE VIEW" command.
If you wish to call me I can discuss the mechanism of how a view is recorded in
the ".RB1" file and why you must issue a command to create a table not just
some how magically turn a table into a view.
--
sincerely,
Jim Bentley
American Celiac Society
266 Midway Dr
River Ridge LA 70123
email: [EMAIL PROTECTED]
Phone: 504-738-6165
-----Original Message-----
From: Kenny Camp <[EMAIL PROTECTED]>
Sent: Thu, 7 Apr 2005 10:06:48 -0500
To: [email protected] (RBASE-L Mailing List)
Subject: [RBASE-L] - Re: table >>> view?
Years ago, back in 2.11, I had that happen maybe 3 or 4 times. It occurred when
I did deleted all the rows where count > 0. It has not happened since 2.11.
Kenny
----- Original Message -----
From: Dennis Fleming
To: RBASE-L Mailing List
Sent: Wednesday, April 06, 2005 7:54 PM
Subject: [RBASE-L] - Re: table >>> view?
OK.
This table name is never used as a view name and this is a first for me in
Rbase.
I didn't check the RB1 table to see if there is a switch (bit) which means
table or view and somehow got corrupted.
Dennis
*****
At 10:48 PM 4/5/2005, you wrote:
At 10:37 PM 4/5/2005, Dennis Fleming wrote:
It wasn't hard to fix but a customer sent me their data base
and a table had become a view. Same name. They lost about 400
rows of data but we were able to recreate them.
This is in 6.5, but I was wondering if anyone has seen this or
how it might happen.
Dennis,
I would check the code which maintains the database maintenance
routines, if any.
It might be possible to type CREATE VIEW instead of CREATE TABLE,
etc.
Very Best R:egards,
Razzak.
Dennis Fleming
IISCO
http://www.TheBestCMMS.com
Phone: 570 775-7593
Mobile: 570 351-5290
��<