Results 1 to 7 of 7

Thread: Could I get a create_export_query example?

  1. #1
    adx442 is offline Junior Member
    Join Date
    Jun 2010
    Posts
    3

    Default Could I get a create_export_query example?

    I'm very new to working with MySQL, and I could really use a little nudge in the right direction.

    We're simply trying to export a target list with the contact's related account name as an additional column
    .
    I've looked through the forums, and it seems like I need to do this under create_export_query
    in ProspectList.php, but I can't figure out how to form the LEFT JOIN statement (if I'm even in the right place, and if that's what I actually need to do).

    Would someone be so kind as to show me exactly how to do this one thing? I think that will help me immensely in moving forward on my own in the future. Thank you!

  2. #2
    adx442 is offline Junior Member
    Join Date
    Jun 2010
    Posts
    3

    Default Re: Could I get a create_export_query example?

    Just one bump to see if anyone might help.

  3. #3
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Could I get a create_export_query example?

    Rather than cutting code that may not be export safe, you may be better to install ZuckerReports. Then you can construct queries that can extract from the db and associate the results to a target list ... all upgrade safe

  4. #4
    blackradius is offline Senior Member
    Join Date
    Apr 2010
    Posts
    41

    Default Re: Could I get a create_export_query example?

    Quote Originally Posted by adx442 View Post
    I'm very new to working with MySQL, and I could really use a little nudge in the right direction.

    We're simply trying to export a target list with the contact's related account name as an additional column
    .
    I've looked through the forums, and it seems like I need to do this under create_export_query
    in ProspectList.php, but I can't figure out how to form the LEFT JOIN statement (if I'm even in the right place, and if that's what I actually need to do).

    Would someone be so kind as to show me exactly how to do this one thing? I think that will help me immensely in moving forward on my own in the future. Thank you!

    do you need the target's email address as well?

  5. #5
    kenshyer79 is offline Junior Member
    Join Date
    May 2010
    Location
    Colorado, United States
    Posts
    1

    Default Re: Could I get a create_export_query example?


  6. #6
    racassel is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    20

    Default Re: Could I get a create_export_query example?

    I Installed Zucker and the demo1 and demo2 packages, but the sample reports do not show up under repository, it just shows blank space and no lists. I tried changing the default report directory, and successfully got error messages, but with just a "/" in that field, no error, but no sample lists....

  7. #7
    adx442 is offline Junior Member
    Join Date
    Jun 2010
    Posts
    3

    Default Re: Could I get a create_export_query example?

    Quote Originally Posted by salesagility View Post
    Rather than cutting code that may not be export safe, you may be better to install ZuckerReports. Then you can construct queries that can extract from the db and associate the results to a target list ... all upgrade safe
    Thank you for the tip ... I will try that. Upgrade safe is an important consideration.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. function create_export_query
    By mcgiver in forum Help
    Replies: 3
    Last Post: 2008-11-20, 10:50 AM

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
  •