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.
tidy up service Northbrook ..Are you lost in the mess of documents that get... Read More
When you own a small business, time is money. And... Read More
For those who are unclear on the differences between the... Read More
Microsoft Great Plains has substantial mid-market share in the USA... Read More
People often ask me: What image file formats will Photoshop... Read More
In the new era of internet marketing the problem of... Read More
To all web designers out there, this article is for... Read More
The research in the field of Natural Language Processing usually... Read More
Microsoft Outlook is one of the most widely used software... Read More
In this small article we will be looking at the... Read More
Microsoft Business Solutions Great Plains is very good fit for... Read More
It won't matter how effective your WinRunner Team is if... Read More
Microsoft Business Solutions Navision serves both European and American megamarkets.... Read More
Former Great Plains Software Dynamics/eEnterprise and currently Microsoft Business Solutions... Read More
According to a survey conducted by InfoTrends/CAP Ventures entitled "Content-Centric... Read More
Which Type of Shop Can Rely On A Home Built... Read More
Microsoft CRM has built-in conversion tool, however you should probably... Read More
Microsoft Business Solutions Great Plains, former Great Plains Software Dynamics... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
I started using PIP (Picture It Publishing) Platinum 2002 right... Read More
Manufacturing in the USA is far away down from mid... Read More
Microsoft Retail Management (RMS) and Microsoft Great Plains are retail... Read More
GroupwareEfforts are continually made to manage the unavoidable ad hoc... Read More
Bill of Lading is required report for Logistics and Freight... Read More
Great Plains Fixed Assets Management module is a robust tool... Read More
reliable home cleaners Buffalo Grove ..According to a survey conducted by InfoTrends/CAP Ventures entitled "Content-Centric... Read More
If you have been using the Internet for any amount... Read More
It is possible that if one avoided all sources of... Read More
.NET platform does not support multiple inheritance. Do not confuse... Read More
So, you've bought a new Macintosh, and now you may... Read More
Customer Relationship Management or CRM is a combination of enterprise... Read More
It's all about turn times in the eMedia industry! The... Read More
"Pfishing", sometimes spelled "Phishing", is a word that's used to... Read More
Since its release in 1987, QuarkXpress had made an immediate... Read More
If you are in the market for new staffing software,... Read More
IBM Lotus Notes with Domino email server is traditional document... Read More
SyncUp, a file synchronizer is designed to assist the home... Read More
Ad-Aware and Spybot are probably the two most well known... Read More
Bad News - the Threat is Bigger than it SeemedHow... Read More
In our opinion, traditional approach when you select ERP/MRP system... Read More
When my daughter was getting into AOL instant messaging (AIM)... Read More
Microsoft Great Plains fits to majority of horizontals and retail... Read More
With the advent of 'Service Pack 2' for Windows XP... Read More
Scrapbooks are very popular these days. I think that almost... Read More
It's not very often I get excited about a software... Read More
Innovative Maintenance Systems (IMS) is one company that offers solutions... Read More
A wiki is an editable text-based website. But you don't... Read More
Microsoft Business Solutions Great Plains is written in Great Plains... Read More
While several preventive maintenance software manufacturers offer free trials for... Read More
While I was preparing some personal background information for a... Read More
Software |