[ic] Loop question

Kaare Rasmussen interchange-users@lists.akopia.com
Sat Jun 9 07:07:01 2001


I have a table like this:

code     mgroup  msort   next_line       indicator       exclude_on      
depends_on      page    form    name    
super    inactive        special         help_name       img_dn  img_up  
img_sel         img_icon        url
0001     Top     01              Contact                 contact         
freemoney/customerList          Contact                         View and 
manage contact information, customers, addresses                              
           icon_customer.gif       
0002     Top     02              Product                 product         
freemoney/articleList           Products                        View and 
manage product information                                       
icon_people.gif         
0003     Top     03              Sales Order             order   
freemoney/soList                Orders                  Manage orders, 
invoices                                         icon_item.gif   
0004     Top     04              General Ledger          ledger  
freemoney/batchList             Ledger                  Create, 
edit journal entries and account information                                  
   icon_pages.gif  
0005     Top     05              Admin           admin   freemoney/owner      
           Admin                   Maintain system and owner 
information                                      icon_design.gif         
0010     Admin   01                                      admin/genconfig      
           Info                                                               
     
0011     Contact         01                                      
freemoney/customerList          Customer                                      
                                  
0012     Contact         02                                      
freemoney/nogetandet            Noget                                         
                          
I add a line in the catalog.cfg:

Database fmmenu fmmenu.txt gdbm 

But this piece of code:

[loop
        prefix=sm
        search="[scratch fm_menu_sparams]"
        safe_data=1
]

Returns no lines.

fm_menu_sparams is 
"fi=fmmenu st=text rf=* co=yes tf=msort sf=mgroup se=None op=rm"

What is wrong? Why doesn't it return any lines from the database table?

-- 
Kaare Rasmussen            --Linux, spil,--        Tlf:        3816 2582
Kaki Data                tshirts, merchandize      Fax:        3816 2501
Howitzvej 75               Åben 14.00-18.00        Web:      www.suse.dk
2000 Frederiksberg        Lørdag 11.00-17.00       Email: kar@webline.dk