Results 1 to 5 of 5

Thread: Help building mailing lists / labels

  1. #1
    tinzauro is offline Junior Member
    Join Date
    Mar 2010
    Posts
    3

    Default Help building mailing lists / labels

    Good morning list.

    I have been trying to create some mailing list / labels from data stored in the contacts table within sugar, but I am struggling horribly.

    This is how I'd like to see the label:

    <firstn_name> <last_name>
    <account_name>
    <primary_address_street>
    <primary_address_city>, <primary_address-state> <primary_address_postalcode>

    I was able to perform the following query on the accounts table, but I want to be able to be able to perform the query on the contacts table. Unfortunately, I don't know how to pull the related <account_name> data in from the accounts table.

    #SELECT `leads`.`first_name` AS `FIRST`, `leads`.`last_name` AS `LAST`, `leads`.`account_name` AS `COMPANY`, `leads`.`primary_address_street` AS `STREETADDRESS`, `leads`.`primary_address_city` AS `CITY`, `leads`.`primary_address_state` AS `STATE`, `leads`.`primary_address_postalcode` AS `ZIP` FROM `prod_has_sugarcrm520`.`leads` AS `leads`;

    Is my problem a matter of designing the correct sql query or am I going about this the wrong way. Thank you for any help available.

  2. #2
    tinzauro is offline Junior Member
    Join Date
    Mar 2010
    Posts
    3

    Default Re: Help building mailing lists / labels

    On a related note, I am using Open Office Writer (with an Open Office Base SQL connection) to create the labels. It is my intention to continue to use this method as it is easily to migrate/port the solution to office workers and or marketing helpers.

    A full write up on the process will be posted here once completed.

  3. #3
    crm2office is offline Member
    Join Date
    Jan 2010
    Posts
    5

    Default Re: Help building mailing lists / labels

    Are you using Microsoft Word? If so try the CRM2Word plugin from CRM2Office. It connects to your Sugar system and produces labels and mail merge documents
    http://crm2office.com/sugarcrm-relat...rm2msword.html

  4. #4
    tinzauro is offline Junior Member
    Join Date
    Mar 2010
    Posts
    3

    Default Re: Help building mailing lists / labels

    No, I am not using Word. I am using Open Office.

  5. #5
    christianknoll's Avatar
    christianknoll is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Vienna
    Posts
    939

    Default Re: Help building mailing lists / labels

    You can use our reporter to produce an xls with that information and then use that in a word document to produce your labels. the reporter is still beta but you can find it at http://www.sugarforge.org/projects/kinamureporter/ .. a tools available under GPL (at least the basic version but that will satify your need) ...

    regards, christian.

    http://www.kinamu.com

    Quote Originally Posted by tinzauro View Post
    Good morning list.

    I have been trying to create some mailing list / labels from data stored in the contacts table within sugar, but I am struggling horribly.

    This is how I'd like to see the label:

    <firstn_name> <last_name>
    <account_name>
    <primary_address_street>
    <primary_address_city>, <primary_address-state> <primary_address_postalcode>

    I was able to perform the following query on the accounts table, but I want to be able to be able to perform the query on the contacts table. Unfortunately, I don't know how to pull the related <account_name> data in from the accounts table.

    #SELECT `leads`.`first_name` AS `FIRST`, `leads`.`last_name` AS `LAST`, `leads`.`account_name` AS `COMPANY`, `leads`.`primary_address_street` AS `STREETADDRESS`, `leads`.`primary_address_city` AS `CITY`, `leads`.`primary_address_state` AS `STATE`, `leads`.`primary_address_postalcode` AS `ZIP` FROM `prod_has_sugarcrm520`.`leads` AS `leads`;

    Is my problem a matter of designing the correct sql query or am I going about this the wrong way. Thank you for any help available.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 13
    Last Post: 2010-12-02, 03:53 AM
  2. Replies: 3
    Last Post: 2009-07-02, 02:55 PM
  3. Mailing Lists interface
    By martin.marcher in forum General Discussion
    Replies: 0
    Last Post: 2008-03-24, 11:41 AM
  4. Printing Mailing Labels from Sugar
    By ftreml in forum Downloads
    Replies: 1
    Last Post: 2005-12-22, 06:40 PM
  5. Mailing Labels
    By garfield in forum Feature Requests
    Replies: 0
    Last Post: 2005-04-26, 10:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •