ArticlesReader.com Menu
Newest Articles
Most Viewed Articles
ArticlesReader.com RSS
Submit Article
Login
Signup
Search the articles

Articles Main Categories
Advice
Animals
Automobiles
Business
Career
Communications
Computer Programming
Computers
Entertainment
Environment
Family
Fashion
Finance
Food
Health & Medical
Home & Garden
Humor
Internet Business
Internet Marketing
Legal
Leisure & Recreation
Marketing
Other
Politics
Reference & Education
Religion
Self Improvement
Sports
Technology & Science
Travel
Writing
Subscribe
Receive alert message from us when new articles submitted to our site for free.

Enter your name

Enter your email

Syndicate

















Related Products
Home::Software

Upgrading Great Plains Dexterity Customization – switching to new technologies: SQL, Crystal, eConne

Author : Andrew Karasev

1.  Replace Dexterity cursor with SQL Stored Procedure


Dexterity was designed as multiplatform technology (primarily Btrieve, Ctree, SQL Server, potentially Oracle).  Dexterity data retrieving mechanism is based on Range start, Range End, Get First and Get Next clauses.  It  is in fact similar, however a little bit slower to cursors in Transact SQL.  Long ranges in Dexterity are good candidates for replacement by SQL stored procedures with update clause.


For example, consider to replace following Dexterity code:


Range clear SOP_HDR_WORK.


Clear ‘SOP Type’ of table SOP_HDR_WORK.


Clear ‘SOP Number’ of table SOP_HDR_WORK.


Range start table SOP_HDR_WORK.


Get first table SOP_HDR_WORK.


While err<>EOF do


                If ‘Salesperson ID’ of table SOP_HDR_WORK = “ERIC” then


                                Edit table SOP_HDR_WORK.


Set ‘Salesperson ID’ of table SOP_HDR_WORK to “BILL”.


                Save table SOP_HDR_WORK.


End if.


Get next table SOP_HDR_WORK.


End while.


 


With the following SQL code


 


Update SOP10100 set SLPRSNID=”BILL” where SLPRSNID=”ERIC”


 


Bringing new data into a table in Dexterity is based on change/edit table clauses, in SQL they are equivalent (by performance) to inserting one record at the time.


When having long cycle of change/edit table in Dexterity, consider replacement by SQL stored procedure with Insert Into clause.


 


2.  Use Crystal Reports, call them from via VBA in Modified form


The easy way to call Crystal Report from your VBA code from your modified form:


Const RPT = "D:\Clients\TheClient\Invoice Status.rpt"


Public crwApplication As CRPEAuto.Application


Public crwReport As CRPEAuto.Report


Private Sub Print_BeforeUserChanged(KeepFocus As Boolean, CancelLogic As Boolean)


If SalesTransactionInquiryZoo.Type = "Invoice" Then


If crwApplication Is Nothing Then


                                Set crwApplication = CreateObject("Crystal.CRPE.Application")


End If


Set crwReport = crwApplication.OpenReport(RPT)


crwReport.ParameterFields(1).SetCurrentValue (DocumentNo)


crwReport.Preview


End If


3.  Use Direct .Net Web Publishing from Great Plains Database


The easiest and safest way is to use eConnect - SDK with VB samples, created for eCommerce programmers and web designers to call the functionality in Microsoft Great Plains.  If your company can not afford eConnect - create your own set of stored procedures to address Great Plains database and go ahead with Visual Studio.Net to do the web publishing.


Happy upgrading and customizing! if you want us to do the job - give us a call 1-866-528-0577! help@albaspectrum.com">help@albaspectrum.com


 

Andrew Karasev is Chief Technology Officer in Alba Spectrum Technologies – USA nationwide Microsoft CRM, Microsoft Great Plains customization company, based in Chicago, California, Texas, New York, Georgia, Arizona, Minnesota, Washington, Colorado and Florida and having locations in multiple states and internationally (http://www.albaspectrum.com/">www.albaspectrum.com), he is Dexterity, SQL, C#.Net, Crystal Reports and Microsoft CRM SDK developer.

Spam emails More free articles

Related articles


  1. Scrap Booking Online: Word Perfect or Corel Graphics Suite?
  2. Great Plains Dexterity Customization Options – Overview For Developers
  3. Microsoft Great Plains Security Setup - Overview For Consultant
  4. Microsoft Great Plains Implementation: Collection Management – Overview For Consultant
  5. Best Spyware Removers
  6. Monitoring Software Can be Used for Spying as Well
  7. Beware of Spyware
  8. Microsoft CRM Integration & Customization: SharePoint Document Gateway
  9. Adware, What Is It?
  10. Microsoft CRM Modification – Overview for IT Specialist
  11. Reporting Tools for Microsoft Great Plains – Overview For Developers
  12. Microsoft Great Plains Upgrade – Things to Consider and FAQ
  13. Great Plains Dexterity History and Programming Overview
  14. Microsoft Great Plains on Ctree or Pervasive SQL – What to Do – Tips for IT Manager
  15. Microsoft Business Solutions VAR/Partner Selection – Overview for IT Director/Manager/Controller
  16. Great Plains Accounting Migration to Microsoft Great Plains - Overview for IT Specialist
  17. Microsoft Great Plains Data Conversion – Overview For Developer
  18. Great Plains Dynamics/eEnterprise Upgrade – Things to Consider and FAQ
  19. Crystal Reports - Geterogeneus databases: SQL Server, Oracle, Unidata, Btrieve – Tips For Developer
  20. Great Plains Dexterity Programming – Overview For Developer
  21. Great Plains Custom Development: Dexterity, VBA, SQL, Crystal, eConnect – Overview For Programmer
  22. How To Create A Data Capture Procedure Checklist For Your Small Business CRM Software
  23. Chinese Input - Step by Step Instruction on How to Input Chinese Characters in English Windows XP
  24. Microsoft Great Plains - Payroll & HR Inexpensive Solution? Not Any More
  25. 20 Extra Hours Per Week: What Would You Do?
More related feeds
 

 

© 2007 articlesreader.com - All Rights Reserved