[ic] Search

Jeff Fearn jefffearn at gmail.com
Tue Jan 18 18:46:50 EST 2005


I believe this is close, I have not tested it but it should help you
get started. Also you will have to format the date.

[loop search="
			ra=yes
			st=db
			ml=1000
			sf=date
			rm=20050115
			rx=20050117
			rf=[date category_rus description]
			"
]
[calc] return 'Newgoods!<br>' if [loop-increment] == 1; return[/calc]
[loop-change date]
	[condition][loop-field date][/condition]
		[loop-field date]<br>
[/loop-change date]
[loop-field category_rus] [loop-field description]<br>
[/loop]

Jeff

On Tue, 18 Jan 2005 16:21:32 +0300, DiCom <dicom at mail.ru> wrote:
> Hi, interchange-users.
> Help me pls!
> 
> Input (database):
> date    sku     category_rus    description
> 20050117        005934  Goods1      Description1
> 20050117        002232  Goods1      Description2
> 20050117        005358  Goods2      Description3
> 20050116        004487  Goods2      Description4
> 20050116        003563  Goods1      Description1
> 20050116        005617  Goods3      Description2
> 
> Output (page):
> Newgoods!
> 17.01.2005
> Goods1 Description1
> Goods1 Description2
> Goods2 Description3
> 16.01.2005
> Goods1 Description1
> Goods2 Description4
> Goods3 Description2
> 
> How I make search in [loop]...[/loop]?
> 
> --
> DiCom
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>


More information about the interchange-users mailing list