Sub Main()
Dim classCode As Integer
Dim otherValue as double
classCode = 50
Select Case classCode
Case ((classCode >= 60) And (classCode <= 66))
otherValue = 0.225
Case ((classCode >= 50) And (classCode <= 59))
otherValue = 0.09...
I have a TDBGrid with the MultiSelect property set to Extended. It behaves as I would expect: clicking a row selects it, ctrl-clicking a row adds it to the current selection of rows, shift-clicking selects all rows between the clicked row and previously selected row.
So far, so good.
I have a...
Wow...my subject is so descriptive that I barely have to write anything here!
Anyways, my dbgrid is bound to a data control on the form. Allow updates is set to true for the grid and the data control is not read only and is dynaset.
I have text boxes on the form that display info from the...
I have two queries. One groups all line items on a sales order and sums them...in the end giving me a list of sales orders and their total costs. My other query gathers information from a bunch of tables. I want to link these two queries together by sales order number on my crystal report...
I'm a computer programmer and haven't used Autocad a day of my life, but have been charged with finding the answer to this problem.
Is it possible to make .dwg files that have blank fields on them...and those blank fields are populated from information from another file (.txt or otherwise)...
The html is simple enough....a background image, two images in either of the top corners, and then a line. My only problem is I want the images in the corners with NO MARGIN. I have added topmargin=0 and leftmargin=0 to my <body> tag. That seems to get rid of the left margin, but I still get...
I have a textarea on a form. I have javascript buttons above it to add html tags (i.e. <b>, </b>) to it. I have two problems.
I'd like to be able to add the tag wherever the cursor is in the text area instead of appending it to the end. If this is not simple, it's really not important.
More...
I currently have a php website running off a mysql database. I have people do things like login, etc. Naturally, that means I have a table of users and have to store their passwords.
I am the only one that can actually get on the server and see the passwords in the user table, but I don't...
I use the page showarticle.php to display all the articles I have stored in my database. I pick the article by linking to showarticle.php?articleID=4 or whatever article number it is.
When I check the statistics on my website, it only tells me how many times showarticle.php has been visited...
I have a submission form that has two buttons, preview and submit. When you preview the text written in, it appends the \ escape character before quotation marks. More previewing, more \.
I know if I monkeyed with it I could probably get it myself, but I was wondering if anyone else has...
My home comp seems to be really messed up.
Here is what happens:
Screen goes black. Monitor loses signal. USB optical mouse loses power. Sound is this faint high pitch hiss (kind of sounds like when you hold the reset button in). Computer is still powered on but unresponsive. Only way I...
I'm shy and girls don't seem to like me.
Now that the lame attempt at humor is out of the way, my problem....
I insert the current date into my mysql database with this statement (edited out unneccessary fields):
$sql = sprintf ("INSERT INTO articles (datePublished) VALUES...
I'm sorry if these questions are pretty simple or have been answered before. I just started teaching myself PHP a week ago.
I'm trying to set up a page for users to input humor/news articles. Here's a very basic run-down of the psuedo-code:
If the user has submitted an article
{
upload...
I am not new to programming but am new to web programming and javascript, so please bear with me. I am trying to make a page for my friend that would have users fill out blanks on a form (including locations of image files either on the web or the user's hd). After clicking the submit button...
I am using Borland Builder 3 on a Win95 system to develop some applications. I can compile and make the project just fine. When I move the exe to the network and try running it from a Win2000 machine, I simply get an error message that says eprivilege. I checked the help files and it talks...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.