HighDots Forums  

nested repeat region extension from dwteam.com

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss nested repeat region extension from dwteam.com in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
newbeenewbee
 
Posts: n/a

Default nested repeat region extension from dwteam.com - 06-10-2004 , 08:45 AM






I'm trying to group some records together. The tutorial for this extension
only groups on one field. I'd like to group multiple fields. ie. I have a
list of companies(with all address info) and then a list of contacts with these
companies as well. Normally it would list each company with only one contact
below it. And would repeat each company for each contact that exists. I've
tried selecting all the company fields and applied the nesting but when I test
it makes the company and address info disappear altogether and only shows the
grouped contacts.
Setup: dreamweavermx 2004, phakt adodb, php4, iis


Reply With Quote
  #2  
Old   
Alexandru COSTIN
 
Posts: n/a

Default Re: nested repeat region extension from dwteam.com - 06-10-2004 , 09:05 AM






Hello,
Actually, if you want to list both the company and the contact, you
don't need a nested repeat region.
You need a left join in your SQL query, and then a regular repeat
region will do.

select * from table1 left join table2 on idcompany=idfkcompany

Alexandru

newbeenewbee wrote:

Quote:
I'm trying to group some records together. The tutorial for this extension
only groups on one field. I'd like to group multiple fields. ie. I have a
list of companies(with all address info) and then a list of contacts with these
companies as well. Normally it would list each company with only one contact
below it. And would repeat each company for each contact that exists. I've
tried selecting all the company fields and applied the nesting but when I test
it makes the company and address info disappear altogether and only shows the
grouped contacts.
Setup: dreamweavermx 2004, phakt adodb, php4, iis



--
Alexandru COSTIN
President Products Division
Dreamweaver Extensions: http://www.interakt.ro/
+4021 312 5312


Reply With Quote
  #3  
Old   
newbeenewbee
 
Posts: n/a

Default Re: nested repeat region extension from dwteam.com - 06-10-2004 , 10:07 AM



I think you misunderstood a bit. I just need to list the company once and all
the related contacts below it.

ie.
I have this currently:
Test Co. 123 Main St. New York, NY 44444
Joe Smith (333)-333-3333
Test Co. 123 Main St. New York, NY 44444
Tanya Baaa (444)-444-4444

I want this
Test Co. 123 Main St. New York, NY 44444
Joe Smith (333)-333-3333
Tanya Baaa (444)-444-4444

But it's outputting this(company info disappears):
Joe Smith (333)-333-3333
Tanya Baaa (444)-444-4444


Reply With Quote
  #4  
Old   
Alexandru COSTIN
 
Posts: n/a

Default Re: nested repeat region extension from dwteam.com - 06-10-2004 , 03:49 PM



Hello,
I can't help you much with Tom's product, but I can help you by
recommending you our product <can't help it>
http://www.interakt.ro/products/MXLooper/

Alexandru

newbeenewbee wrote:

Quote:
I think you misunderstood a bit. I just need to list the company once and all
the related contacts below it.

ie.
I have this currently:
Test Co. 123 Main St. New York, NY 44444
Joe Smith (333)-333-3333
Test Co. 123 Main St. New York, NY 44444
Tanya Baaa (444)-444-4444

I want this
Test Co. 123 Main St. New York, NY 44444
Joe Smith (333)-333-3333
Tanya Baaa (444)-444-4444

But it's outputting this(company info disappears):
Joe Smith (333)-333-3333
Tanya Baaa (444)-444-4444



--
Alexandru COSTIN
President Products Division
Dreamweaver Extensions: http://www.interakt.ro/
+4021 312 5312


Reply With Quote
  #5  
Old   
newbeenewbee
 
Posts: n/a

Default Re: nested repeat region extension from dwteam.com - 06-10-2004 , 04:07 PM



Can it handle what I need it to do? Or can it only group on one field only.

Reply With Quote
  #6  
Old   
Alexandru COSTIN
 
Posts: n/a

Default Re: nested repeat region extension from dwteam.com - 06-10-2004 , 04:15 PM



Hi,
Please send me your access database and I will let you know if we
can handle it or not.

Right now, it is not very clear what you want to do and how your
information is organized

Alexandru

newbeenewbee wrote:

Quote:
Can it handle what I need it to do? Or can it only group on one field only.


--
Alexandru COSTIN
President Products Division
Dreamweaver Extensions: http://www.interakt.ro/
+4021 312 5312


Reply With Quote
  #7  
Old   
newbeenewbee
 
Posts: n/a

Default Re: nested repeat region extension from dwteam.com - 06-10-2004 , 04:39 PM



I can't send you my access database, it's in postgresql. Here's how the query
is layed out. An example of a single record:

company, dba, street, city, state, zip, name, lastname, phone, fax

I'd like to group on "company, dba, street, city, state, zip"

because there are many records which have the same company but different
"name, lastname, phone, fax"

So once it's grouped I want it to look something like this on my web page:

company, dba, street, city, state, zip
name, lastname, phone, fax
name, lastname, phone, fax
name, lastname, phone, fax

instead of :
name, lastname, phone, fax



Reply With Quote
  #8  
Old   
Alexandru COSTIN
 
Posts: n/a

Default Re: nested repeat region extension from dwteam.com - 06-10-2004 , 04:46 PM



We also take pgdumps
But I can confirm - our extension allows you to do this

Alexandru

newbeenewbee wrote:

Quote:
I can't send you my access database, it's in postgresql. Here's how the query
is layed out. An example of a single record:

company, dba, street, city, state, zip, name, lastname, phone, fax

I'd like to group on "company, dba, street, city, state, zip"

because there are many records which have the same company but different
"name, lastname, phone, fax"

So once it's grouped I want it to look something like this on my web page:

company, dba, street, city, state, zip
name, lastname, phone, fax
name, lastname, phone, fax
name, lastname, phone, fax

instead of :
name, lastname, phone, fax




--
Alexandru COSTIN
President Products Division
Dreamweaver Extensions: http://www.interakt.ro/
+4021 312 5312


Reply With Quote
  #9  
Old   
Les Matthews
 
Posts: n/a

Default Re: nested repeat region extension from dwteam.com - 06-10-2004 , 05:05 PM



I don't understand why you are needing to group on more that one field.
From the example you gave, you need a standard repeat region for which the
DWTeam extension is the proper tool.

I think you do not need to group on the multiple fields - you need to group
on only one field (CompanyID). You can still write those other fields to the
page without including them in the grouping statement.

BTW, Tom has a support newsgroup (doesn't appear very active, though). The
newsgroup server is "tom-muck.com" and the name of the forum is
"dw_extension_support".

"newbeenewbee" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Can it handle what I need it to do? Or can it only group on one field
only.




Reply With Quote
  #10  
Old   
newbeenewbee
 
Posts: n/a

Default Re: nested repeat region extension from dwteam.com - 06-11-2004 , 10:55 AM



do you have a demo I can test on my site first?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.