Hi José,
Good to hear from you. You have apparently been lurking. *bg*
<i><font color="#663300">This happened me long ago with an early version of xCase which did not appropriately prefix the tables with their DBC name. How did you generate your DBC? You might want to look deeper at its content with a utility like GENDBC or GENDBCX.</font></i>
Actually, I discovered that it is by design. *bg* I use code to generate my views and I have several generic bizobjs that generate generic views. When a view is created by code and the database is not specified in the SELECT statement, then apparently the information is not stored in the DBC. For the moment I have added this code to cDataBehavior.GetNextLocalPK after the line:
tcBaseTable = CHRTRAN(tcBaseTable, ["], []) *--Alternative method to get DBC name IF EMPTY(lcDBC) lcDBC = JUSTSTEM(CURSORGETPROP('database', tcBaseTable)) ENDIF
But I am also examining the possiblity of adding the name of the current database to the procedure that generates the view and that will probably be my ultimate solution. :-) Pamela pamela AT eagle-crest D.O.T com ©2001 Pamela Thalacker |