Jerrrum's Profile
Reputation: 0
Apprentice
- Group:
- New Members
- Active Posts:
- 16 (0.03 per day)
- Joined:
- 08-February 12
- Profile Views:
- 516
- Last Active:
Mar 07 2012 01:42 PM- Currently:
- Offline
Previous Fields
- Country:
- GB
- OS Preference:
- Windows
- Favorite Browser:
- Chrome
- Favorite Processor:
- Intel
- Favorite Gaming Platform:
- Playstation
- Your Car:
- Who Cares
- Dream Kudos:
- 0
Latest Visitors
Posts I've Made
-
In Topic: Using DataGridView with Access
Posted 9 Feb 2012
This is exactly what i needed to get started! Thanks!
-
In Topic: Vb.net searching a database to see if value is already present
Posted 8 Feb 2012
YES! Have finally figured it out. Just had to take the i+1 out of the bracket.
i = i + 1 TextBox1.Text = (i) -
In Topic: Vb.net searching a database to see if value is already present
Posted 8 Feb 2012
MaxRows = ds.Tables("CustomerDetails").Rows.Count Do Until x = MaxRows If txtCustRefNum.Text = ds.Tables("CustomerDetails").Rows(x).Item("CustomerReference") Then txtCustRefNum.Text = ("CR" & i + 1) x = 0 ElseIf txtCustRefNum.Text = ds.Tables("CustomerDetails").Rows(x).Item("CustomerReference") = False Then x = x + 1 End If Loop
This code works for the first two entries in the database, when it gets to the third one it just freezes the whole program. Any idea why this may happen? -
In Topic: Vb.net searching a database to see if value is already present
Posted 8 Feb 2012
Dim i As Integer = 1000 Dim x As Integer = 0 Do Until x = MaxRows If txtCustRefNum.Text = ds.Tables("CustomerDetails").Rows(x).Item("CustomerReference") Then txtCustRefNum.Text = (i + 1) ElseIf txtCustRefNum.Text Is Not ds.Tables("CustomerDetails").Rows(x).Item("CustomerReference") Then x = x + 1 End If Loop
I have come up with this so far. Does it make any sort of sense or do you want me to explain what i am doing in each part of the code? -
In Topic: Checking a certain symbol is present in textbox
Posted 8 Feb 2012
That code works a treat! And even better it actually makes sense to me after reading it over a few times! haha! Thanks for the help!!
My Information
- Member Title:
- New D.I.C Head
- Age:
- 18 years old
- Birthday:
- August 22, 1994
- Gender:
-
- Years Programming:
- 1
- Programming Languages:
- VB.net
Contact Information
- E-mail:
- Click here to e-mail me
Friends
|
|


Find Topics
Find Posts
View Reputation Given


|
Comments
Jerrrum has no profile comments yet. Why not say hello?