devxlogo

November 2, 1999

Handling Single and Double Quotes

Question: I am trying to put lines of text into an array: messageArray = new Array();messageArray[0] = ‘Information deduced from the document’s content.’ I’m running into problems with the single

ADO Recordset

Question: Is there a way to programmatically reset the status of a record in an ADO 2.1 recordset? For example, I would like to change the status of a record

ActiveX Control to read URL properties

Question: I have a VB database application that, when I pass a unique id to a client object, opens that record (this explanation is simplified). I have to write an

Round to a Whole Number

Question: I have a program that calculates the number of people the government could send to college with the money they spend on certain defense programs. The script works, but

Maximum String Length

Question: What is the maximum length of a JavaScript string? Answer: Although there is no specific limit on the length of a JavaScript String, there are practical limits on how

Validate Data With Regular Expressions and XSL

xtensible Stylesheet Language (XSL) has slowly been gaining a reputation as the SQL of the hierarchical data world. Even with only the partial implementation that Microsoft’s XSL offers, you can

Memory Management

ven though the Java Virtual Machine performs automatic garbagecollection, you can’t completely forget about memory managementissues. How and when garbage collection is performed isimplementation dependent. Some JVMs will wait until

Filter Data from a Database

n last month’s 10-Minute Solution, you learned how to display selective data from a database based on the user’s choice. This time you’ll see how to improve and optimize this

Consolidating Tables for Easier Database Maintenance

n designing a relational system, the simplicity of each individual relation belies the complexity engendered by the multiplicity of tables created by implementing that model. However, simply by observing “good