Are your multiline edit controls jumping around when you click your cursor in them? Do you have the Grammarly extension installed? Well then read on This is an issue that has been plaguing some of us for a while, but it has come up quite a bit lately as I believe grammerly is getting more … Continue reading Disabling Grammarly for an edit control
Category: Quick Tips
Be careful when doing math on edit controls in Browser code!
I ran into one today, that I haven't seen in WebDev before. We use to run into a similar problem in that "old language whom's name shall not be mentioned" when dealing with reals, but this is the first time I have seen this behavior in WebDev and I believe it actually is JavaScript that … Continue reading Be careful when doing math on edit controls in Browser code!
Adding Suffix (st, nd, rd, th) to Numbers
We are often spoiled by the number of functions that are built into the WL language. This is especially true with it comes to date and time manipulation. I have never worked with an environment that has so many built in functions for dealing with dates. So it came as a bit of a shock … Continue reading Adding Suffix (st, nd, rd, th) to Numbers
Getting UTC Time in ISO 8601 Format
Working on integrating with Amazon S3 services today, which uses a RESTful API. So far the hardest part is generating the login credentials. Amazon does this quite a bit different than most services. Instead of just sending an API Key and Token, you use several pieces of information, including the actual REST URL you are … Continue reading Getting UTC Time in ISO 8601 Format
SCM Bug – Directory Does not exist in SCM Database
How to work around the "Directory Does not exists in SCM Database" bug.
Setting PDF Filename when using Print Preview
Normally when I want a PDF generated from a report I do so by using the iDestination function, similar to this: The generated PDF will have the name specified by the variable PDFFileName. But recently a Client had a report that we were using the Print Preview for, however when the user saved the report as … Continue reading Setting PDF Filename when using Print Preview
.NET Permission Issues
I spent part of my morning in .NET hell, a situation that I try to avoid as much as possible. That is the reason I use WX in the first place! I use a .NET library to convert JSON data to XML data, which will be the topic of a future webinar. But today's topic … Continue reading .NET Permission Issues
Variables declared in a Loop
Ran into a very subtle issue today with variables declared in a loop. For pcreminder.com, I have an outer loop that gets all the reminders that need to be sent for all users. Within that loop, there is a second loop that loops through all the receipts for the reminder and sends the actual reminder. … Continue reading Variables declared in a Loop
Flexible Comparison Statements
A few weeks ago I gave someone an answer that included code similar to this: IF Nospace(MyString) = "TestString" And Wolfgang Kirsch pointed out the flexible comparison operators in the online help. So the statement can be written as IF Mystring ~= "TestString" I have been trying to use this more as I feel it … Continue reading Flexible Comparison Statements
Combobox issue with & Character
We ran into an odd one this morning. Location names were not showing up correctly in a combo box control. Freezer R&D was showing up as Freezer RD It appears that the combo box control has some logic to create hot keys for the choices using the & character, just like there is for captions. … Continue reading Combobox issue with & Character
You must be logged in to post a comment.