Home > database >  An access to insert Error Error C0031
An access to insert Error Error C0031

Time:09-22

//such as the password and confirm password with, then insert the user information

If sle_1. Text<> Sle_2. Text then
//determine whether confirm password and password same
INSERT INTO "User_state
"The SET of "User_name"=: sle_1. Text
The SET of "Password"=: sle_2. Text
SET "Corportion=" : sle_4. Text
The SET of "Position"=: sle_5. Text

The else
Messagebox (" error!" , "do not tally with the password confirm password!" , the exclamation! , ok! , 2)
End the if

The younger brother new to PB, the wrong attempt no solution for many times, hope which ace to show just a little

CodePudding user response:

INSERT INTO User_state
(User_name, Password, Corportion, Position)
Values
(: sle_1. Text: sle_2. Text, : sle_4. Text, : sle_5. The text).

CodePudding user response:

reference 1st floor response:
INSERT INTO User_state
(User_name, Password, Corportion, Position)
Values
(: sle_1. Text: sle_2. Text, : sle_4. Text, : sle_5. The text).

Commit the using the sqlca;
  • Related