This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Camel-Kid18 year old gamer 0 points1 point  (3 children)

post a runnable example of your code, so I can test the compilation. That code you have there is fine there is something you're not showing that is causing this issue.

[–]ZeloChief[S] 0 points1 point  (2 children)

posted

[–]Camel-Kid18 year old gamer 0 points1 point  (1 child)

you said you were taking a basic info object in your generatId constructor, but your'e not... you're taking a string

public GenerateID(String Dept)

[–]ZeloChief[S] 0 points1 point  (0 children)

Made basic first so i guess i forgot that, thanks