levyuk I cant because some of the values are 77.50 and the drivers get paid 75. Thanks anyways.
DavidT_macktool thanks for the tip I will have to give that a try
Back at ya
dDAmount is a variable that for the Driver Amount, since they get a different amount from the Tow Amount. I store it in the variable so I can format it into currency later.
Well I have two text boxes one is called Tow Amount and one is Driver Amount
If the Tow Amount is like 67.50, when the user hits enter i want it to fill in the Driver Amount with 65.00 and move to a combobox.
So I have this
Private Sub TAmountFocus(ByVal sender As System.Object, ByVal e As...
I have a textbox that is bound. No problems with this, but if I enter the box, hit enter, whatever I entered disappear from the textbox. I have no code on this either, so I dont see how It can be a coding problem. i need whatever i put in that box to stay there then add to my db
Solved (In a Way)
Nevermind I figured it out. For future reference what I did was a loop
Dim i as Integer = 0
drVedor = DataSet.Table(i)
Do Until drVendor.ID = txtId.Text
drVedor = DataSet.Table(i)
i = i =1
Loop
Since Id is my primary key and I have to have a primary key I just...
How do I get the row number like if I have 5 records
1 John
2 Jacob
3 Angela
4 Holly
5 Matt
if Angela is called how do I get the row number of 3. Now 3 is not my primary key, just the row number. How would I go about coding this. I am using a data adapter, dataset, and a data reader...
Didnt work. It says
System.Windows.Forms.FolderBrowserDialog() is not defined
Microsoft Development Environment 2002 Version 7.0
Microsoft .NET Framework 1.0
Not sure if the version matters but as you can see I dont have the folder browser dialog. Kinda funny.....
How can I pass in two dates one say 05/16/2005 and the other 05/24/2005 and it gives me all the data in between the dates. I setup a parameter and assigned it to the group header in which it will sort it by. Didn't work,
Thanks for any help
OK my next problem is this. I am using a find feature that when I put in a stock number it goes to the number and brings up the info on it.
This is how I am doing it.
#Region "Finding Stock"
Private Sub btnFind_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...
Ive been looking online for a Directory Dialog Box. I'm on Vb.Net 2003 V1 and I have the File Open Dialog. Is there any way of coding it so it selects a directory instead.
Thanks,
Here is all my code just so youy dont miss anything
You can make fun of it and critique it cuz im still quite new at this sooo I dont care. the more help to code the better
Dim bmbAdd As BindingManagerBase
Dim S As String = "$0.00"
Dim dTotal As Double = 0.0
Dim dHaul As Double = 0.0
Dim...
Ok I have mistaken, The DB is set to numeric not currency or text. Here is some code
If txtTextBox.text = "$0.00" Then
txtTextBox.text = 0
End If
When I read a number like 0 from the database I convert the value to the $0.00 option. Then when i write it I just want to write the 0 I can get...
It was currency, but I figured it was easier to code the $ on the VB end rather than dealing with writing currency values to the database and getting confused so I switched it to text. I will try the quotes.
I have a text box that when the form loads the text box displays:
$0.00
The user can then put in a value or leave it the way it is. If they leave it the way it is then it doesnt write 0 to the database, it just leaves it blank.
In order for my Crystal Report to work I need it to be 0 if the...
Makes a lot of sense. I had to do the from listbox to another when making an audio player. Just never thought I would need it here. I will give it a try and if anything goes wrong I will write back.
Thanks for the fast respose as well
Drew
If I have a combo box that has say 4 values:
Apple
Banana
Carrot
How Can i make it so If I hit A then Apple will and B then Banana will appear in the box.
I would assume I would have to use some ASCII values to compare the letter hit to the first letter of each of the 4 Values. Just need...
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.