Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: why only display the first character of the data?
Pages: [1] Print
Author Topic: why only display the first character of the data?  (Read 454 times)
newbie
Guest


Email
why only display the first character of the data?
« on: April 08, 2004, 03:38:14 AM »

Hi.. how come when i list the data on the cgi, it only display the first character of the data from the database?

db-echo false

db_view: func[] [db-select [Name] tblcontact]          
   

  list_data: layout [
             
           
  list 180x100 [across text black 200 text black 100] data db_view
   
]
Logged
Ashley
Newbie
*
Offline Offline

Posts: 37


View Profile
why only display the first character of the data?
« Reply #1 on: April 08, 2004, 07:00:26 PM »

Perhaps what you want is a 'text-list?
Code:
view layout [text-list data db-view]
Also, your db-view function (note the use of "-" instead of "_") can be simplified a bit.
Code:
db-view: does [db-select name contacts]
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: why only display the first character of the data?
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 09:40:29 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2311 Posts in 595 Topics by 4145 Members
Latest Member: Domiadito

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc