• This is a reminder of 3 IMPORTANT RULES:

    1- External self-promotion websites or apps are NOT allowed here, like Discord/Twitter/Patreon/etc.

    2- Do NOT post in other languages. English-only.

    3- Crack/Warez/Piracy talk is NOT allowed.

    Breaking any of the above rules will result in your messages being deleted and you will be banned upon repetition.

    Please, stop by this thread SoccerGaming Forum Rules And Guidelines and make sure you read and understand our policies.

    Thank you!

How to add a player to database

RR88

Club Supporter
Strange thing happened to me, I was able to add a new player to db (with new name in playernames table), but now it suddenly stopped working, I have no clue what's wrong, adding a name in table cause a crash saying "Object cannot be cast from DBNull to other types." any ideas? It looks like, the database cannot found the new name in table, but why?
 

dissectionalone

Senior Squad
usually if all the values on the table cells are filled right it doesn't report errors. You get this error on the playernames table only? There are two ways I can think of to add names:

1 - Export the playernames table and edit in excell or similar program;
2 - Copy a record from the table, insert and change the name and ID directly on the DB for the duplicated record;
 

RR88

Club Supporter
Yeah I kinda sort it out, after adding new values to tables I just reloaded Inteli-Edit Schema and it worked, I don't know why, but it worked, only difficulty is that I have to reload the schema every time I add new values to any table.
 


Top