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.
cleaning team near Winnetka ..Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Which Type of Shop Can Rely On A Home Built... Read More
Have you noticed WordPerfect is gearing up for a comeback... Read More
Finally, you have some time to personalize your desktop with... Read More
When you visit department stores and see that majority of... Read More
Remember old good days when your company probably had Great... Read More
In the previous ISDN article, we looked at how and... Read More
A UNIX Shell is in simplest terms, a command line... Read More
If you have Microsoft Great Plains and support it for... Read More
Corporate ERP/MRP selection might be tough one, especially considering very... Read More
Microsoft Business Solutions CRM is present several years on the... Read More
Best Software Act! is very popular CRM for small and... Read More
We will base our prognosis on our Microsoft Business Solutions... Read More
It's no secret that software companies operate in a very... Read More
Microsoft Business Solutions Great Plains is very popular ERP platform... Read More
Former Great Plains Software Dynamics/eEnterprise and currently Microsoft Business Solutions... Read More
Microsoft Business Solutions CRM and IBM Lotus Notes Domino, being... Read More
In the case when you represent mid-size or mid-size-to-large business,... Read More
Spyware, what it is and what it does. Basically, spyware... Read More
In this small article we will be looking at the... Read More
Are Spreadsheets Robbing your Enterprise of Competitive Advantage?'90% of "average"... Read More
No matter how much you enjoy your favorite screensavers, sometimes... Read More
You might think you don't need a firewall... Read More
As of now - Great Plains Dynamics/eEnterprise is transformed/renamed into... Read More
If there still are few unprotected computers left, I haven't... Read More
family-safe home cleaners Northbrook ..Microsoft released Service Pack 2 (SP2) for the Windows XP... Read More
So, why should you use any O/R mapping tool? I... Read More
Microsoft Business Solutions Great Plains serves to the wide spectrum... Read More
Microsoft Business Solutions Great Plains version 8.5, 8.0, 7.5, Great... Read More
Now that spyware is the single most dangerous threat to... Read More
An integral part of any quality CRM system is lead... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
In this small article we will show you the possible... Read More
This article illustrates the best practices to improve the performance... Read More
When you buy a computer, it most likely comes with... Read More
Google Inc. has launched a new software package that allows... Read More
For a long time now Microsoft's Internet Explorer has ruled... Read More
Navision Software was purchased by Microsoft and now it is... Read More
Remember old good days when your company probably had Great... Read More
Let's say that you have a software project that's under... Read More
This article is the third of a series of articles... Read More
Great Plains Inventory Management (IV) module gives your business a... Read More
It is really interesting that a bug can create problem... Read More
When it comes to running an office, the SOHO entrepreneur... Read More
Remember nice and prosperous Clinton era? When you implemented innovative... Read More
Microsoft CRM is new player on the CRM software... Read More
I have yet to see a business that, sometimes in... Read More
eStore Advantage allows front-office applications to communicate with back-office business... Read More
XML Server can be a Web Server that stores the... Read More
When reading an article where some term is used often,... Read More
Software |