I ran further testing to see if perhaps I had a syntax errorthat was messing things up.
I restored the original file creating the view(PayrollSummary.VIE) which just has a DROP VIEW command and a CREATE VIEWcommand.I ran it ? it worked fine. Iadded only ONE new column I457 CURRENCY and immediately, when I tried running it,got the error message ?Row length exceeds maximum of 4,096 characters? Ideas? David "David Blocker [email protected] Office: 781-344-1920 Cell: 339-206-0261" -----Original Message----- From: Albert Berry [mailto:[email protected]] Sent: Monday, May 31, 2010 12:13 PM To: 'RBASE-L Mailing List' Subject: [RBASE-L] - Re: Getting Error Message on View: ?Row length exceedsmaximum of 4,096 characters? David, if you create a temp table with the columns typed as you want, but leave it empty, you can use it as the first table in the view, and that will define the column types for you in your view. An example of this is when you combine text columns in a view they usually come out as NOTE.CREATE VIEW empFullName (EmpID, FullName) AS +SELECT EmpID, (fName & lName) from employeesTo resolve this issue,CREATE TEMP TABLE tmpFullName ( + EmpID INTEGER, + FullName TEXT (100) )CREATE VIEW empFullName (EmpID, FullName) AS +SELECT EmpID, FullName FROM tmpFullName +UNION +SELECT EmpID, (fName & lName) from employeesAlbertDavid Blocker wrote:>> Alastair>> >> An interesting idea. To do that however, I?d have to handle this with > a temporary table, right? Then insert the SELECT into the temp > table? Or is there a way in a VIEW definition to set column types > that I?m not aware of? I thought R:Base would normally follow the > column type of the original column.>> >> David>> >--- RBASE-L================================================TO POST A MESSAGE TO ALL MEMBERS:Send a plain text email to [email protected](Don't use any of these words as your Subject:INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)================================================TO SEE MESSAGE POSTING GUIDELINES:Send a plain text email to [email protected] the message SUBJECT, put just one word: INTRO================================================TO UNSUBSCRIBE: Send a plain text email to [email protected] the message SUBJECT, put just one word: UNSUBSCRIBE================================================TO SEARCH ARCHIVES:Send a plain text email to [email protected] the message SUBJECT, put just one word: SEARCH-n(where n is the number of days). In the message body, place any text to search for.================================================

