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 Glenview ..One day, you suddenly realize that your computer started to... Read More
Mike Dunville* had a decision to make. As the new... Read More
Microsoft Business Solutions Great Plains might be considered as ERP... Read More
Microsoft Great Plains is now targeting large and midsize businesses... Read More
Microsoft Business Solutions Great Plains, Navision, Axapta, Solomon and CRM... Read More
The Microsoft system preparation utility for Windows 2000 is a... Read More
The destruction of the Soviet Union about 15 years ago,... Read More
What is Colossus?Colossus is software licensed to about twenty-five insurance... Read More
It is possible that if one avoided all sources of... Read More
Beginning with Domino version R4 it has integration with the... Read More
So, you've bought a new Macintosh, and now you may... Read More
Microsoft CRM is winning market share step-by-step from such the... Read More
Intro This concise article will tell you in plain English... Read More
It's all about turn times in the eMedia industry! The... Read More
Software development is a risky business.Many software developers are barely... Read More
So, why should you use any O/R mapping tool? I... Read More
I completed an experiment recently. I wanted to find out... Read More
Need help making sense of algebra? Have algebra lectures in... Read More
In the early days of the personal computer, we're talking... Read More
Does Microsoft Have any Real Competition? Copyright (c) 2003 Gregory... Read More
Each Industry and market niche has business specific and unique... Read More
Microsoft-Outlook is a pretty amazing program. So much more than... Read More
Microsoft CRM and IBM Lotus Notes Domino seem to be... Read More
Before September of 1995, Microsoft ignored the Internet because their... Read More
Most computer users use spreadsheets software such as Microsoft Excel... Read More
full-service cleaning Mundelein ..While Adobe is the most known maker of PDF tools,... Read More
Microsoft Great Plains may be recommended for international freight forwarding... Read More
Remember old good days when your company probably had Great... Read More
You turn on your computer, and it doesn't look quite... Read More
Writing software manuals is boring, isn't it? We often think:... Read More
Microsoft Business Solutions is emerging as very attractive vendor for... Read More
If you are in a business that passes documents around... Read More
Learning how to program software seems like a daunting task... Read More
When making a decision to buy any piece of software... Read More
Language development computer: Computer-based method for aiding language development seems... Read More
I've been active in the Cisco Certification track for four... Read More
Are Spreadsheets Robbing your Enterprise of Competitive Advantage?'90% of "average"... Read More
Fundraising software lets you connect with donors in a way... Read More
Microsoft Business Solutions CRM is now approaching the phase of... Read More
Remember nice and prosperous Clinton era? When you implemented innovative... Read More
Most people don't use Photoshop to its fullest capabilities. Here... Read More
If you are software developer or database administrator - we... Read More
Research bears that less than 70 percent of development projects... Read More
Pirated software is on the increase and now accounts for... Read More
Every day millions of new web documents emerge on the... Read More
TCO (Total Cost Ownership) is the buzzword in... Read More
Lotus Notes Domino is very efficient in electronic document workflow... Read More
When you visit department stores and see that majority of... Read More
Our company, Novaprof Inc., developed unique software - DB Integration.... Read More
Microsoft Business Solutions Great Plains has substantial market share among... Read More
Software |