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 (help@albaspectrum.com), he is Dexterity, SQL, C#.Net, Crystal Reports and Microsoft CRM SDK developer.
same day cleaning service Des Plaines ..Microsoft Business Solutions Great Plains was historically designed to serve... Read More
Configuring PPP PAP AuthenticationNow we know how the ISDN link... Read More
The most important benefit of XML is its simplicity. Though... Read More
Microsoft Business Solutions Great Plains is very popular ERP/MRP applications... Read More
Does Microsoft care for WebmastersIt's always been a problem with... Read More
Microsoft Business Solutions ? Great Plains has captured the US... Read More
In this short FAQ style article we would like to... Read More
Having from five to ten and more favorite screensavers is... Read More
If you have been running Windows XP for a couple... Read More
NOTE: Please take time to read on - it may... Read More
What is Groupware?Have you ever had to manage document collaboration... Read More
What is Software?Software is a set of instruction written to... Read More
Crystal Reports is the most flexible tool on the market... Read More
What is installation in the language of technology? Installation... Read More
.NET platform does not support multiple inheritance. Do not confuse... Read More
Although statistics often is blamed for various deadly sins --... Read More
Have you ever noticed that when you look at your... Read More
Most people don't use Photoshop to its fullest capabilities. Here... Read More
Microsoft CRM is winning market share step-by-step from such the... Read More
If you are in a business that passes documents around... Read More
Microsoft CRM is CRM application, maintained and supported by Microsoft... Read More
Imagine something that follows you home and sets itself up... Read More
Former Great Plains Software Dynamics/eEnterprise, and currently Microsoft Business Solutions... Read More
Lotus Domino/Notes ? Microsoft Great Plains tandem as ERP with... Read More
In this small article we will be looking at the... Read More
home cleaning services Mundelein ..Spyware is software or hardware installed on a computer without... Read More
Now is the time to look at an alternative to... Read More
Microsoft Business Solutions Great Plains is very popular ERP/MRP applications... Read More
Let's first look at your ERP system selection (without Retail... Read More
A wiki is an editable text-based website. But you don't... Read More
Costs of fleet maintenance software can vary widely. It is... Read More
When you buy a computer, it most likely comes with... Read More
A LOT OF UNWANTED FILES.When you uninstall an item of... Read More
Make-or-Break Factors in Success and ProfitabilityFor quick printers, estimating can... Read More
It's all about turn times in the eMedia industry! The... Read More
Is your PC is slow and wimpy? Then you need... Read More
Not every software testing project can or should be automated.... Read More
Microsoft released Service Pack 2 (SP2) for the Windows XP... Read More
OEComplete is a utility for managing the personal information of... Read More
Follow the steps below to quickly design, generate, and deploy... Read More
Microsoft Business Solutions is now in process of creating so... Read More
IntroductionPHP can be used for a lot of different things,... Read More
With thousands of web pages added to the Net every... Read More
SAP Inc., a global leader in client/server enterprise application software... Read More
Combining Microsoft Business Solutions Great Plains ERP with non-Microsoft Business... Read More
Bad News - the Threat is Bigger than it SeemedHow... Read More
Features Additionally, Vista will include many other new features.Aero Vista... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
The vast majority of us will have, at some point,... Read More
Best Software Act! is very popular CRM for small and... Read More
Software |