Type: Posts; User: DataMiser
Search took 0.19 seconds.
July 28th, 2015, 09:44 PM
It should be simple to do but then again back when I used CR I found that even simple things were sometimes a major pain in CR. I dumped it many years ago and have not looked back.
It should be a...
July 26th, 2015, 03:04 PM
It is not part of the image property you simply set the control to the size you want. Set stretch to true and load the image. It will auto size to the size of the control.
But yes if you are...
July 26th, 2015, 01:10 AM
You say you already tried that but somehow I don't think you did as that would have worked. No code is even required, just set the image control to the size you want and set the properties.
July 25th, 2015, 11:29 AM
Have you considered using an image control instead. It has a stretch property which can do this automatically.
There is also a scale property between the two you should be able to do what you want.
When talking about Macros you really should state what app you are working with. VBA varies a bit by what product you are using. I assume in this case you are using Excel VBA.
I do not code in...
Where are you trying to create the db? Remember program files is protected on Vista and later OSs so you will not have write access if you try to put your db there.
You are basically setting intStart to 0 each time you enter the routine so your label is always going to be 0,13 in size
You need to use a static var or a var with a higher scope. You also need to...
June 23rd, 2015, 06:33 PM
Well, I'm not sure what you are doing but it sounds like you are typing into the combo box and then looking for the typed entry in the list and of course it will not be there unless you write some...
June 23rd, 2015, 06:27 PM
So are you talking about an Access database or a SQL Server database? Your use of SQL is confusing. If there is no status field and you want to filter by status then obviously you will need to add...
Where are you getting the error?
You have this defined as a function but you have not defined the type the function is to return and the only code I see that returns something actually returns...
Actually that should be a sub rather than a function as it is not returning a value.
You also need to specify a argument in the sub definition if you want to pass it something
I assume that you mean two tables in a single database rather than two databases.
What do you mean when you say can't get it to work? You really should be descriptive here, are you getting errors?...
Insert adds a new row.
The FieldList does tell it which cells to place the data in but as above Insert creates a create row
You need to use an update query to change data in an...
Off the top of my head I would think this may be a case for a union
You could use that to execute two queries one to find the next highest value and the...
You are missing the field list
"Insert Into Table (FieldList) Values (ValueList)"
Don't try to add directly to the text property. Instead you should use a variable that is of type decimal and add to that then when you are done with the loop you place the value in your textbox.
show the actual code rather than sticking it in as a comment.
Your function is not defined properly you need to give it a return type
Public Function Calculate(Subtotal, decTAX_RATE) As...
A few things
1st off you are setting totalcost to the value returned from your function so it will never add the prices together it will instead hold the last price on the list.
Cost is defined as...
Download a copy of the express version and install it on your computer.
Look through the samples that are included.
Search for tutorials, samples online.
Read the documentation.
What is the error message?
If Max_Flange is a text field then the value needs to be surrounded by single quotes
Well assuming that the field is a numeric field you could use a simple query
select top 2 item,value where value >600 order by value
In this case it would return 1000 and 4000...
April 30th, 2015, 10:49 PM
well the program should start with the timer not enabled
You should enable the timer in the click event where you want the count down to begin
You should not be trying to do math on a string. You...
April 28th, 2015, 09:00 AM
I have no idea what you mean by that statement nor how it is in anyway related to the topic at hand.
Yes I have a lot of experience in the programming world and have in depth knowledge of VB Dos...
April 27th, 2015, 06:37 PM
hmmm 1 team member and no clear direction nor staff to do the work. Really does not sound like something that would be a wise investment.
April 24th, 2015, 10:30 PM
Actually you said you had written at least 1.2 the code but there is far less than 1/2 there.
You are prompting for input outside your loop so it will only ask for one value. If that value is 1-99...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!