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 errEOF 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.
The easy way to call Crystal Report from your VBA code from your modified form:
Const RPT = "D:ClientsTheClientInvoice 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
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 (help@albaspectrum.com), he is Dexterity, SQL, C#.Net, Crystal Reports and Microsoft CRM SDK developer.
family-safe home cleaners Morton Grove ..While I was in college, if you would have asked... Read More
If you have Great Plains Dynamics/eEnterprise (version 6.0 or earlier)... Read More
You probably didn't casually invite, or extend a formal attendance... Read More
Around the same time Microsoft made its move with .Net... Read More
As Mozilla Firefox nears 10% market share, with well over... Read More
Your computer cost you from hundreds to thousands of dollars,... Read More
The COSMIC FP (function point) software quality metric, is no... Read More
Microsoft Retail Management (RMS) and Microsoft Great Plains are retail... Read More
Follow the steps below to quickly design, generate, and deploy... Read More
Microsoft CRM is CRM application, maintained and supported by Microsoft... Read More
Whether you need to close a sale, gather end-user feedback,... Read More
The purpose of one of our projects was MS Exchange... Read More
Great Plains Accounting, accounting package for mid-size and small companies... Read More
The research in the field of Natural Language Processing usually... Read More
MicroWorld Technologies, Inc. the leading solutions provider in the area... Read More
When you buy a computer, it most likely comes with... Read More
TCO (Total Cost Ownership) is the buzzword in... Read More
Great Plains Software Dynamics, Dynamics C/S+, eEnterprise were written on... Read More
Introduction to C++Why Learn C++?C++ may at first seem like... Read More
We would like to give you several situations, when you... Read More
Assertion facility is added in J2SE 1.4. In order to... Read More
C++ Function templates are those functions which can handle different... Read More
Microsoft Great Plains is main accounting / ERP application... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
Imagine something that follows you home and sets itself up... Read More
home cleaning services Wilmette ..Microsoft Office program is a programming tool called Visual Basic... Read More
What is Tripwire?Tripwire is a form intrusion detection system (IDS)... Read More
OEComplete is a utility for managing the personal information of... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
One day, you suddenly realize that your computer started to... Read More
Task Manager is a Windows system utility that displays thetasks... Read More
Are you lost in the mess of documents that get... Read More
Microsoft CRM is relatively new player on the now becoming... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Table of Contents1) Introduction 2) Related Work 3) Framework 4)... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Microsoft CRM and IBM Lotus Notes Domino seem to be... Read More
Microsoft CRM was designed to be easily customizable. Microsoft CRM... Read More
The world of small business accounting software can be a... Read More
It is really interesting that a bug can create problem... Read More
Anyone who has ever used Microsoft Word knows that it... Read More
This tutorial covers OLAP solutions used by Data warehouses and... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
For those who are unclear on the differences between the... Read More
Microsoft Great Plains, Navision, Solomon and Axapta are Microsoft Business... Read More
Introduction to C++Why Learn C++?C++ may at first seem like... Read More
You've finally created databases that you can actually use to... Read More
The term "document management" and "paperless office" is the subject... Read More
If someone entered your home, uninvited and installed numerous cameras... Read More
XML parser is a software module to read documents and... Read More
Software |