Simple Adress Register

Discussion in 'Share Your Creations' started by Basseman, Jan 20, 2009.

  1. Basseman

    Basseman Member Licensed User

    Hi, im fairly new to programing with Basic4Ppc but i was looking for a simple way to make a register and i put this togehter.
    Hope this can help newbies like myself.

    Enjoy..

    :sign0104:

    Edit:
    Changed Number Row to String
    Question to Clear table.


    Thanks for your suggestions and testing, appriciate it.

    But have no idea how to check if table is empty and then not save
    And don't load an empty table..
     

    Attached Files:

    Last edited: Jan 20, 2009
  2. taximania

    taximania Well-Known Member Licensed User

    Hi Basseman.
    Just had a quick beta test of your program for you.
    You can save an empty table, but it errors if you load an empty table.

    I hate coding and trapping every possible error :)

    Nice ;)
     
  3. klaus

    klaus Expert Licensed User

    Hello Basseman.

    I had also a look at your program.

    Two suggestions:
    - for the phone column in the table use also cString instead of cNumber for the variable type because if you enter phone numbers with spaces the program generates an error and leading zeros disappear.
    - for the Clear Table function add a MessageBox asking or confirmation before clearing to avoid an unwanted clearing.

    Best regards.
     
Loading...
  1. 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.
    Dismiss Notice