Jerrrum's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
16 (0.03 per day)
Joined:
08-February 12
Profile Views:
516
Last Active:
User is offline 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

No latest visitors to show

Icon   Jerrrum has not set their status

Posts I've Made

  1. In Topic: Using DataGridView with Access

    Posted 9 Feb 2012

    This is exactly what i needed to get started! Thanks! :^:
  2. 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)
    
  3. 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?
  4. 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?
  5. 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

Comments

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