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.
![]() |
|
![]() |
|
![]() |
|
![]() |
Features Additionally, Vista will include many other new features.Aero Vista... Read More
This is intermediate level SQL scripting article for DB Administrator,... Read More
Stop the Runaway MouseWhat's the "runaway mouse?" You've seen it...you... Read More
Microsoft Business Solutions Great Plains is written in Great Plains... Read More
I suggest that you do not spend a lot of... Read More
When Windows fails to boot it is normally caused by... Read More
You have gotten those E_Mails buy software at deep discounts.... Read More
GroupwareThe internet is full of 1.5 million to 7 million... Read More
Microsoft Retail Management (RMS) and Microsoft Great Plains are retail... Read More
Assertion facility is added in J2SE 1.4. In order to... Read More
In order to meet regulatory and corporate compliance requirements reporting... Read More
Microsoft Business Solutions Great Plains has Project Accounting module where... Read More
In 2004 Oracle, Inc. made its new step toward J2EE... Read More
The fact that a software tester is a most infamous... Read More
Microsoft Business Solutions Great Plains is very popular ERP platform... Read More
It is really interesting that a bug can create problem... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Microsoft Great Plains is main Microsoft Business Solutions accounting package... Read More
Just imagine: you are walking, say, towards your car, and... Read More
Around the same time Microsoft made its move with .Net... Read More
Java has come along a long way. Many would agree... Read More
Fundraising software lets you connect with donors in a way... Read More
Microsoft Business Solutions products: Great Plains, MS CRM, Navision, Axapta,... Read More
What is Tripwire?Tripwire is a form intrusion detection system (IDS)... Read More
Have you ever noticed that when you look at your... Read More
The COSMIC FP (function point) software quality metric, is no... Read More
Microsoft Great Plains is now targeting large and midsize businesses... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Microsoft Retail Management System serves retail single store as well... Read More
DBxtra goes ASPGetting to the information hidden within corporate databases... Read More
Microsoft Great Plains is now standard mid-market ERP application, serving... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
In this small article we will be looking at the... Read More
Microsoft Business Solutions Great Plains is written in Great Plains... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
Running Applications in Compatibility Mode With Windows XP, you can... Read More
Microsoft Business Solutions Great Plains is very generic accounting application... Read More
Not all of us have the luxury of working both... Read More
So let's begin crunching down these 300 images using Adobe... Read More
CD and DVD replication is a process that works by... Read More
When reading an article where some term is used often,... Read More
Microsoft CRM customization techniques are very diversified and based on... Read More
Microsoft Great Plains is main Microsoft Business Solutions product, targeted... Read More
"Pfishing", sometimes spelled "Phishing", is a word that's used to... Read More
Ad-Aware and Spybot are probably the two most well known... Read More
In this article you will find some background information about... Read More
In the new era of internet marketing the problem of... Read More
Now is the time to look at an alternative to... Read More
Microsoft Great Plains is main accounting / ERP application... Read More
Microsoft CRM and IBM Lotus Notes Domino seem to be... Read More
Just when you thought you were Web savvy, one more... Read More
IBM Lotus Notes Domino and Microsoft CRM (Client Relation Management)... Read More
Microsoft CRM is CRM application, maintained and supported by Microsoft... Read More
Microsoft Great Plains serves the wide spectrum of horizontal markets.... Read More
While Adobe is the most known maker of PDF tools,... Read More
We would like first emphasize the change in the paradigm.... Read More
Microsoft Great Plains may be recommended for international freight forwarding... Read More
Microsoft Business Solutions CRM is web-based CRM application, deploying all... Read More
Viruses and spyware usually show up on your computer one... Read More
Microsoft Great Plains serves majority of US based horizontal and... Read More
Which Type of Shop Can Rely On A Home Built... Read More
So, you've bought a new Macintosh, and now you may... Read More
After almost two decades of existence, Quark has become the... Read More
IBM Lotus Domino or Microsoft Exchange?The severe competition continues for... Read More
Scrapbooks are very popular these days. I think that almost... Read More
What is Interactive Mapping?Interactive mapping is a visual display medium... Read More
Software |