I'm always ready to learn! I give up...why? I thought about this for a while and the only thing I could come up with was something screwy in VB about integer comparison with <= or >=. That's my guess.
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...
I set the grid to allow inserts. I still got the same error. Also, it then put a line to insert a new record. I don't really want one of those, but just to test I tried adding a record with it and got the error again.
As for .eof/.bof testing, I'm guessing it's not because I can see the...
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...
My database isn't SQL. We're using some MRP system that has a proprietary database system...so I'm pretty much stuck with what they give me.
I have made some progress, though, using subreports like you suggested. It seems like I have all the data and have linked the report and subreport...
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...
They are values that are not anywhere else and are unique.
Specifically, we have drawings that are not to scale and have blanks where dimensions are filled in. These dimensions are gathered in our order entry program and are unique to each order. I'd like to someone get this information to...
You are definitely on the right track. I wish I could use VB as I'm pretty familiar with that. My problem is that I am trying to populate this autocad dwg with info I'm getting in an ERP program that is really limited in what it will let me do programmatically. It lets me customize things...
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)...
Thanks, but no dice. I just don't get it. Here is my .htm file now:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<STYLE>
BODY
{
margin: 0px;
border-width: 0px;
padding: 0px;
margin-left: 0px;
margin-top: 0px;
}...
hahaha....I meant to say it's adding <div>& nbsp ;</div> to my stationary...without the spaces, of course.
And no one is adding it. For some reason when the .htm file is rendered it is added.
Here is the stationary in it's entirety:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type"...
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...
All of those hard-coded statements I mentioned, I tried with and without ().
I can't for the life of me figure out what is wrong. All of my other evals and changes to properties on my form objects are working except for this focus() one.
That didn't work.
I even tried just a basic
document.submissionForm.paragraph1.focus;
That didn't work either. Then I tried
document.submissionForm.title.focus;
title is just a textbox, not a textarea. That still didn't work. Focus just remains on the button that was pressed. I can't...
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...
Making my own encryption algorithm does sound fun, but I am not THAT hard up for something to do. Thanks for pointing me in the right direction, guys (or girls...whatever the case may be).
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.