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.
|
|
|
|
|
|
|
|
|
|
|


First we had the original Google search that evolved into... Read More
NOTE: Please take time to read on - it may... Read More
Bad News - the Threat is Bigger than it SeemedHow... Read More
If you're online using a dialup Internet connection, you'll probably... Read More
We'll give you non formal view, based on our consulting... Read More
Just the thought of a duel-boot scares many people away,... Read More
Microsoft Business Solutions Great Plains version 8.5, 8.0, 7.5, Great... Read More
Microsoft Business Solutions offers several ERP applications: Great Plains, Navision,... Read More
If you have Microsoft Great Plains and support it for... Read More
Beginning with Domino version R4 it has integration with the... Read More
Bar charts, bar graphs, and any other chart or graph... Read More
When my daughter was getting into AOL instant messaging (AIM)... Read More
TikiWiki is open source software - it is written in... Read More
Microsoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
Microsoft-Outlook is a pretty amazing program. So much more than... Read More
What is Colossus?Colossus is software licensed to about twenty-five insurance... Read More
Microsoft bought Navision, Denmark based software development company, along with... Read More
Remember old good days when your company probably had Great... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics... Read More
Although we don't know whether Microsoft ever envisioned such a... Read More
Programming Help for BeginnersWe write programs to instruct computers. When... Read More
Lotus Notes Domino is very efficient in electronic document workflow... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
We would like to give you several situations, when you... Read More
Most computer users use spreadsheets software such as Microsoft Excel... Read More
Our hosted solution allow you to run your own search... Read More
The fact that a software tester is a most infamous... Read More
In this short FAQ style article we would like to... Read More
What is Software?Software is a set of instruction written to... Read More
In a previous article, I wrote about OpenOffice... Read More
When reading an article where some term is used often,... Read More
Is your PC is slow and wimpy? Then you need... Read More
Great Plains Inventory Management (IV) module gives your business a... Read More


Spyware, what it is and what it does. Basically, spyware... Read More
Microsoft Great Plains has full-featured Manufacturing suite of modules: Capacity... Read More
Are you a database professional? Do you work with a... Read More
At the end of XX century, in the late 1990th... Read More
It is now common thing when large corporation selects mid-market... Read More
Let us give you - developer some hints in the... Read More
SAP Inc., a global leader in client/server enterprise application software... Read More
You have gotten those E_Mails buy software at deep discounts.... Read More
It would be easy to think, like most people apparently... Read More
Need help making sense of algebra? Have algebra lectures in... Read More
Pirated software is on the increase and now accounts for... Read More
Have you ever noticed that when you look at your... Read More
I like my software simple. If it's too complex or... Read More
Using professional icons in your application or website can bring... Read More
.Net Framework is a platform or development environment to seamlessly... Read More
Microsoft Business Solutions Great Plains and MS CRM (client relation... Read More
This article is the third of a series of articles... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
Blue Cross and Blue Shield of Hawaii (HMSA) found itself... Read More
Microsoft Business Solutions ? Navision is an integrated solution for... Read More
When you buy a computer, it most likely comes with... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
DBxtra is a powerful query and reporting tool that hides... Read More
As of now - Great Plains Dynamics/eEnterprise is transformed/renamed into... Read More
If you have Microsoft Great Plains and support it... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
IntroductionPHP can be used for a lot of different things,... Read More
Have you noticed WordPerfect is gearing up for a comeback... Read More
We'll give you non formal view, based on our consulting... Read More
There are two major WYSIWYG(What You See Is What You... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Whether you are a small consultancy firm, a medium sized... Read More
Since technology changes so quickly, it is hard to begin... Read More
Software |