What are the column names in the database for first name and second name?
What other colmns are there ? do they allow null values or do we need to supply values for those too ?
Hi hollystyles,
I changed the column names in the database so that they match with
your ones. But it still has a username field (Data type is text) and a
ID (Autonumber and the Primary key).
When trying your code I didn't fill the username field because it
should automatically come after a login (I haven't created it and therefore
I left it). I think ID field is no problem. This username field is the problem.
As you have asked, how can I configure it to get null values?
After your great help, I came home for the weekend. At the moment I
haven't installed IIS in my home machine. So, I didn't try your statement
with the semicolon. I am sure it's not the case because in the samples I
have looked in reference books there is no semicolon after SQL commands
(In VB, of course).
I will try the code with a datatable that has no username filed and let you know.
For the time being, is this info enough to you for tackling the problem?
Again, I really appreciate your help!
vbgaya.