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.
![]() |
|
![]() |
|
![]() |
|
![]() |
Shareware has been fighting the stigma of being misunderstood for... Read More
Microsoft-Outlook is a pretty amazing program. So much more than... Read More
We live in a post-industrial age where information is the... Read More
Currently Microsoft Business Solutions is on the way of creating... Read More
Homeland security, airport security, Internet security â?" these days weâ??re... Read More
Microsoft Business Solutions Great Plains has I'd say end user... Read More
Microsoft released Service Pack 2 (SP2) for the Windows XP... Read More
There are plenty of articles out there about how to... Read More
ERP (Enterprise Resource Planning) Overview covers What is ERP, Brief... Read More
Microsoft Business Solutions Great Plains and MS CRM (client relation... Read More
Hey Guys! Don't raise your eyebrows or fear by hearing... Read More
The Windows Indexing Service provides you with the ability to... Read More
Microsoft Great Plains as ERP and Microsoft CRM as... Read More
Assertion facility is added in J2SE 1.4. In order to... Read More
Microsoft Business Solutions is now in process of creating so... Read More
Microsoft Business Solutions CRM proved to be reliable solution in... Read More
CD and DVD replication is a process that works by... Read More
How do you run a program on a remote server... Read More
Microsoft Business Solutions is emerging as very attractive vendor for... Read More
The term "document management" and "paperless office" is the subject... Read More
This article will not attempt to advocate the use of... Read More
This is the tutorial where we really get into programming.... Read More
At the end of XX century, in the late 1990th... Read More
Table of Contents1) Introduction 2) Related Work 3) Framework 4)... Read More
If you are in a business that passes documents around... Read More
Just the thought of a duel-boot scares many people away,... Read More
Should one use Windows Update?This topic has good and valid... Read More
TCO (Total Cost Ownership) is the buzzword in... Read More
Looks like Microsoft Great Plains becomes more and more... Read More
Features Additionally, Vista will include many other new features.Aero Vista... Read More
Once upon a time not so long ago, there was... Read More
Healthcare facilities such as clinics, hospitals, and biomedical laboratories can... Read More
GroupwareEfforts are continually made to manage the unavoidable ad hoc... Read More
Case study: A secretary using Corel WordPerfect 7 is often... Read More
There are plenty of articles out there about how to... Read More
Are you one of those people that keeps track of... Read More
Following tips help you to learn a software in lesser... Read More
Several software companies design programs for preventive maintenance. Most of... Read More
I have yet to see a business that, sometimes in... Read More
Microsoft Business Solutions Great Plains version 8.5, 8.0, 7.5, Great... Read More
IBM Lotus Domino or Microsoft Exchange?The severe competition continues for... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Microsoft Outlook is one of the most widely used software... Read More
The Windows registry is a huge database that ensures normal... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics/eEnterprise... Read More
Microsoft CRM is new player on the CRM software... Read More
When you double-click a layer in the Layer Palette, you... Read More
If you are software developer or database administrator - we... Read More
While Ukraine is becoming a new popular IT outsourcing destination,... Read More
1. With mapping software you can create a report that... Read More
Customer Relationship Management or CRM is a combination of enterprise... Read More
.Net Framework is a platform or development environment to seamlessly... Read More
Microsoft CRM is CRM answer from Microsoft Business Solutions. If... Read More
Looks like Microsoft Great Plains becomes more... Read More
Microsoft Business Solutions main middle market ERP application - Microsoft... Read More
Is your PC is slow and wimpy? Then you need... Read More
Just the thought of a duel-boot scares many people away,... Read More
Microsoft Business Solutions Great Plains was historically designed to serve... Read More
In this short FAQ style article we would like to... Read More
Stealing company information used to be the specialty of spies... Read More
Microsoft CRM was designed to be easily customizable. Microsoft CRM... Read More
Microsoft released Service Pack 2 (SP2) for the Windows XP... Read More
When you need a phone number, you do a quick... Read More
This article is the third of a series of articles... Read More
While Adobe is the most known maker of PDF tools,... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
Software |