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.
limousine Ackley .. Lockport Chicago limo O’HareMicrosoft Great Plains and Microsoft Retail Management System (Microsoft RMS)... Read More
Microsoft Business Solutions is emerging as very attractive vendor for... Read More
Corporate ERP/MRP selection might be tough one, especially considering very... Read More
Every organization which creates collaborative documents, whether they are budgets,... Read More
Most people understand that the "hardware" part of their computer... Read More
Midsize business or non-profit organization should decide if one-vendor solution... Read More
IntroductionSurprised, by the title? well, this is a tour of... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Many reasons made GBM a unanimous choice for experts, one... Read More
Microsoft Great Plains has substantial mid-market share in the USA... Read More
While several preventive maintenance software manufacturers offer free trials for... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Cyberspace has opened up a new frontier with exciting possibilities... Read More
Running Applications in Compatibility Mode With Windows XP, you can... Read More
Microsoft Business Solutions Great Plains fits to majority of horizontal... Read More
OEComplete is a utility for managing the personal information of... Read More
1. With mapping software you can create a report that... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
The major reason I recommend getting your hands on real... Read More
If you are in the market for new staffing software,... Read More
If you use Microsoft Outlook (or similar applications) for e-mailing,... Read More
So, why should you use any O/R mapping tool? I... Read More
ERP is the acronym of Enterprise Resource Planning. Multi-module ERP... Read More
With this small article we are continuing Microsoft Business Solutions... Read More
Microsoft Business Solutions offers several ERP applications: Great Plains, Navision,... Read More
shuttle from O'Hare Alexander ..Here is some free software tools to help you build... Read More
In the real world a "fire wall" is a fireproof... Read More
The US House of Representatives has recently passed the "Spy... Read More
The Software 2005 conference is now a wrap. This conference,... Read More
Document Management or Enterprise Information Management is perhaps one of... Read More
It is possible that if one avoided all sources of... Read More
Our hosted solution allow you to run your own search... Read More
Microsoft Word is one of the most popular office applications... Read More
Microsoft Great Plains serves the wide spectrum of horizontal markets.... Read More
Microsoft PowerPoint has dramatically changed the way in which academic... Read More
Rapid Application Development (RAD) is a software development methodology. In... Read More
Finally, you have some time to personalize your desktop with... Read More
Small can be beautiful! Working with Knoppix for the past... Read More
It is really interesting that a bug can create problem... Read More
We don't think about mainframe software pricing anymore, we just... Read More
Some companies that are in need of fleet management may... Read More
The major reason I recommend getting your hands on real... Read More
Looks like Microsoft Great Plains becomes more and more popular,... Read More
Let's first look at your ERP system selection (without Retail... Read More
Formatting and reinstalling windows 98 is very easy if you... Read More
Microsoft Business Solutions Great Plains has substantial market share and... Read More
Mike Dunville* had a decision to make. As the new... Read More
What is Interactive Mapping?Interactive mapping is a visual display medium... Read More
The various resume software offered, particularly on the internet, can... Read More
Microsoft Business Solutions Great Plains is marketed for mid-size companies... Read More
Software |