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 (www.albaspectrum.com), he is Dexterity, SQL, C#.Net, Crystal Reports and Microsoft CRM SDK developer.
Microsoft CRM ? Client Relationship Management package from Microsoft Business... Read More
Microsoft Great Plains serves the wide spectrum of horizontal markets.... Read More
In this short FAQ style article we would like to... Read More
Fleet Maintenance Management is a critical position in any company... Read More
Since technology changes so quickly, it is hard to begin... Read More
When it comes to running an office, the SOHO entrepreneur... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
As seeing large number of implementations ? in our case... Read More
1. With mapping software you can create a report that... Read More
Pirated software is on the increase and now accounts for... Read More
Each Industry and market niche has business specific and unique... Read More
Most people don't use Photoshop to its fullest capabilities. Here... Read More
Simply put, fleet maintenance allows companies to monitor and maintain... Read More
Most people understand that the "hardware" part of their computer... Read More
C++ Function templates are those functions which can handle different... Read More
If you are in the market for new staffing software,... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions. If... Read More
What is Groupware?Have you ever had to manage document collaboration... Read More
Whether you need to close a sale, gather end-user feedback,... Read More
Microsoft Business Solutions Small Business Manager is scaled down Great... Read More
Microsoft Great Plains as ERP and Microsoft CRM as... Read More
In today's business world it's all but impossible to escape... Read More
With many manufacturing shops heading over seas in favor of... Read More
Microsoft Business Solutions Great Plains has several options to enable... Read More
Icons are used everywhere; right from software applications, to internet... Read More
Finally, you have some time to personalize your desktop with... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Follow the steps below to quickly design, generate, and deploy... Read More
When you think... Read More
Document Manager and Version HistoryIn previous articles I have discussed... Read More
We all already got used to computer monitoring both at... Read More
Not all of us have the luxury of working both... Read More
The first topic we are going to discuss... Read More
In today's business world it's all but impossible to escape... Read More
Collaboration SoftwareCollaboration Software, also known as group collaboration software or... Read More
If you are in the market for new staffing software,... Read More
Microsoft CRM is winning market share step-by-step from such the... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
Microsoft Great Plains serves majority of US based horizontal and... Read More
The world of small business accounting software can be a... Read More
When you first think about multicurrency ? you probably have... Read More
Microsoft Great Plains is becoming more and more popular and... Read More
NOTE: Please take time to read on - it may... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
I've been active in the Cisco Certification track for four... Read More
ERP (Enterprise Resource Planning) Overview covers What is ERP, Brief... Read More
When making a decision to buy any piece of software... Read More
Simply put, fleet maintenance allows companies to monitor and maintain... Read More
Although statistics often is blamed for various deadly sins --... Read More
FTP stands for "file transfer protocol". FTP is basically a... Read More
In our small article we'll consider Microsoft Business Solutions Great... Read More
Executive SummaryAn effective plan for entering, cleaning and updating the... Read More
When you think... Read More
In this short FAQ style article we would like to... Read More
In our case ? we serve Microsoft Business Solutions ERP... Read More
I like my software simple. If it's too complex or... Read More
Most people don't use Photoshop to its fullest capabilities. Here... Read More
This is a short article, written in question/answer/FAQ style to... Read More
Midsize business or non-profit organization should decide if one-vendor solution... Read More
Microsoft Business Solutions ? Great Plains is designed to meet... Read More
Just imagine: you are walking, say, towards your car, and... Read More
Table of Contents1) Introduction 2) Related Work 3) Framework 4)... Read More
Do you want to get quality software at a reasonable... Read More
Microsoft Business Solutions CRM and IBM Lotus Notes Domino, being... Read More
When you own a small business, time is money. And... Read More
There are many commands that are used in linux on... Read More
Software |