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.
![]() |
|
![]() |
|
![]() |
|
![]() |
Our hosted solution allow you to run your own search... Read More
This tutorial covers OLAP solutions used by Data warehouses and... Read More
We were recently faced with a decision: either to let... Read More
As we could imagine, if you are reading this article... Read More
The term "document management" and "paperless office" is the subject... Read More
I've been active in the Cisco Certification track for four... Read More
Microsoft Business Solutions Small Business Manager is scaled down Great... Read More
Finding the best spyware removers to detect and remove spyware... Read More
Microsoft Business Solutions Great Plains serves to the wide spectrum... Read More
Software development is a risky business.Many software developers are barely... Read More
RSS (Really Simple Syndication) is a way for a site... Read More
Think of this, first we had the HAM Radio, then... Read More
It's not very often I get excited about a software... Read More
The objective for Zandi Digital is to make available clever... Read More
Executive SummaryAn effective plan for entering, cleaning and updating the... Read More
Manufacturing in the USA is far away down from mid... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
This article is for advanced Microsoft CRM SDK C# developers.... Read More
This article will not attempt to advocate the use of... Read More
Usually, the easiest way to tell you have spyware is... Read More
Microsoft Outlook is one of the most widely used software... Read More
After almost two decades of existence, Quark has become the... Read More
With many manufacturing shops heading over seas in favor of... Read More
Follow the steps below to quickly design, generate, and deploy... Read More
Great Plains Accounting, accounting package for mid-size and small companies... Read More
Did you ever give a thought to the number of... Read More
Now is the time to look at an alternative to... Read More
1. With mapping software you can create a report that... Read More
Microsoft Great Plains is one of the Microsoft Business Solutions... Read More
I like my software simple. If it's too complex or... Read More
Internet worms. Is your PC infected?If your computer has become... Read More
Best Software Act! is very popular CRM for small and... Read More
I have recently created my first Php program. I wanted... Read More
The vast majority of us will have, at some point,... Read More
TCO (Total Cost Ownership) is the buzzword in... Read More
In our small article we'll consider Microsoft Business Solutions Great... Read More
eStore Advantage allows front-office applications to communicate with back-office business... Read More
Domino server is a buffer between the operation system and... Read More
MicroWorld Technologies, Inc. the leading solutions provider in the area... Read More
#5 All your hardware components like Printers, PCs etc come... Read More
If you have Great Plains Dynamics/eEnterprise (version 6.0 or earlier)... Read More
Small can be beautiful! Working with Knoppix for the past... Read More
Microsoft Business Solutions CRM data conversion deserves FAQ type of... Read More
Microsoft Great Plains is becoming more and more popular and... Read More
Java has come along a long way. Many would agree... Read More
Which Type of Shop Can Rely On A Home Built... Read More
Are Spreadsheets Robbing your Enterprise of Competitive Advantage?'90% of "average"... Read More
If you company is small or mid-size special products or... Read More
Before September of 1995, Microsoft ignored the Internet because their... Read More
The stakes are high when considering security, privacy, and savings,... Read More
Microsoft CRM and IBM Lotus Notes Domino seem to be... Read More
Just the thought of a duel-boot scares many people away,... Read More
RSS (Really Simple Syndication) is a way for a site... Read More
New post-recession era has new features, which didn't exist in... Read More
1. With mapping software you can create a report that... Read More
IntroductionSurprised, by the title? well, this is a tour of... Read More
Microsoft SQL Server is the leader for inexpensive and middle... Read More
So, you've bought a new Macintosh, and now you may... Read More
Since technology changes so quickly, it is hard to begin... Read More
A wiki is an editable text-based website. But you don't... Read More
Mapping Software Improves Data VisualizationFrom the outset, it is important... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
DBxtra goes ASPGetting to the information hidden within corporate databases... Read More
Microsoft Business Solutions Great Plains has substantial market share among... Read More
Introduction to C++Why Learn C++?C++ may at first seem like... Read More
Do you want to get quality software at a reasonable... Read More
Software |