Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, August 27, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: How Can we get Records in grid From database What we select from picklist?
venkat
Posts: 16
 
How Can we get Records in grid From database What we select from picklist?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Oct 08 1:15 AM
Hi,
I am trying to get records in grid what am i select from pick list to get those related records from database to display in grid. For that I wrote code like

Dim SQL

SQL="SELECT ZIPSTART,ZIPEND from sysdba.C_TERRITORYZIPMGMT a inner join sysdba.C_TERRITORYMGMT b on a.C_TERRITORYMGMTID= b.C_TERRITORYMGMTID where state='"&pklStates.Text&"'"

dgZipcodes.SQL =SQL

msgbox SQL

dgZipcodes.Refresh


But it won't Display records Please helpme How can i Get it?

Regards,
Venkat
[Reply][Quote]
Stephen Redmond
Posts: 190
 
Re: How Can we get Records in grid From database What we select from picklist?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Oct 08 3:07 PM
Hi Venkat,

Just a quick question: how much training have you get in SalesLogix?


Regards,


Stephen
www.slxmaster.com
[Reply][Quote]
venkat
Posts: 16
 
Re: How Can we get Records in grid From database What we select from picklist?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Oct 08 11:14 PM
Stephen Did you know the solution please posted answer. I am begineer

Regards,
Venkat
[Reply][Quote]
Stephen Redmond
Posts: 190
 
Re: How Can we get Records in grid From database What we select from picklist?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Oct 08 3:05 AM
Hi Venkat,

As a beginner, you will need to do some research to find the answers - for example, you will probably be able to find the answer just from articles that have been posted on this site (as well as looking through previous forum posts).

When are you getting SLX developer training?


Stephen
www.slxmaster.com
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: How Can we get Records in grid From database What we select from picklist?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Oct 08 1:02 PM
Good point Stephen. There's NO substitute for SalesLogix (Engineer/Dev) training. Sage now has "Anytime" and "blended" learning available thru SageU.com and now one does not have to travel to AZ for good classroom training.

There's "blended" LAN/Web/Mobile training available for BOTH customers and Partners. Once you have taken the course(s) you can then take an Assessment test and receive your certification. Certification opens up access to Sage SalesLogix Tech support, etc.

BTW.. the ONLY way you can receive official certified Dev training is via a SalesLogix trainer. There are no non-Sage individuals certified to deliver certified training in development. Only for Poser User and Admin (I know.. we hold Certified Trainer status
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: How Can we get Records in grid From database What we select from picklist?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Oct 08 6:07 PM
Your MsgBox SQL statement should be showing you that your SQL syntax is incorrect, unless you really have a state equal to "'"&pklStates.Text&"'"

Also, as SLX always logs in as user SYSDBA, there is no need for the SYSDBA schema prefix in your SQL.

Try logging in to SQL Server as user SYSDBA and executing the SQL that is returned by your statement - you will find that

InputBox ,,SQL

is a better statement to use than MsgBox, as it allows you to copy the SQL statement to the clipboard.

Something like this will be closer to what you want:

SQL="SELECT ZIPSTART,ZIPEND from C_TERRITORYZIPMGMT a inner join C_TERRITORYMGMT b on a.C_TERRITORYMGMTID= b.C_TERRITORYMGMTID where state= "'" & pklStates.Text & "'"

Phil

PS the comments above regarding training are spot on, btw.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/27/2025 8:47:13 AM