devxlogo

August 10, 1999

Passing Dates to Databases from ASP

Question: How can I pass a date to a database using ASP? Answer: The answer depends on what database you are using. Say you are using a variable called ‘strDate’

Window Maximization

Question: How do you set the maximized state of a window within code? Answer: The Java AWT does not provide an interface for maximizing a window.The Swing JInternalFrame supports a

Killing a Form

Question: Is there a way for me to kill, destroy, release, or otherwise cancel a form that has hung, without quitting the current instance of Visual FoxPro? I’ve tried practically

Foreign Keys

Question: How do I temporarily disable foreign keys in a table, insert more rows, and then enable them again? In particular, I need to know about syntax and what the

Nonblocking I/O

Question: Say I have 10 sockets and I want to have a thread which checks for a message from the sockets using their InputStreams. The thread will wait in the

A Simple Sort Not Working

Question: I have the following: sql=”select * from products” How do I sort or order by two columns retrieved in the “*”? Answer: You need to specify them directly in

ASP String Functions

Question: I have a string that changes in length and has information separated by commas. For instance, it might contain something like: agfd, addc, aprev, ads, adft I need a