This topic is locked

Double Primary key validation

10/13/2005 11:03:25 AM
ASPRunnerPro General questions
K
kaktoos_77 author

when user enter a content for primary key field , an error happens.

what can I do for it?!!!

Sergey Kornilov admin 10/14/2005

What exactly is the error message?

K
kaktoos_77 author 10/15/2005

This is it:
Error Type:

Microsoft OLE DB Provider for ODBC Drivers (0x80040E2F)

[Microsoft][ODBC Microsoft Access Driver]Error in row

if bAddMasterKey then

rs("tempkey") = RemoveWrappers(GetRequestForm("masterkey"))

end if
<span style='font-size:14pt;line-height:100%'> rs.Update</span>

rs.Close

Sergey Kornilov admin 10/15/2005

You can see this error message for one of the following reasons:

  1. Key column is an autonumber and you trying to put some value manually there.
  2. Key column is not an autonumber and no value is given for this field when record is added.

K
kaktoos_77 author 10/16/2005

Great! I solve it then by your guide. thank u!

another question:

I download trial version of asp runner from here are my webs going to be expired after my asprunner software became expired?

Sergey Kornilov admin 10/17/2005

Hi,
your web pages will work after your ASPRunner trial period will be expired.

K
kaktoos_77 author 10/18/2005

I WONDER!

though IT IS GREAT! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=6383&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />