Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of negative integers as primary keys #6

Open
rpalacpac opened this issue Jul 25, 2014 · 0 comments
Open

Use of negative integers as primary keys #6

rpalacpac opened this issue Jul 25, 2014 · 0 comments

Comments

@rpalacpac
Copy link

I use random number primary keys that range from -999999 to 999999 in my Fabrik lists. This was based on an earlier database design using MS Access. Whenever I edit/view a list item/record that contains a positive primary key, I can edit/view it in a form with no problem. But when I edit/view a list item/record with a negative primary key, I get the error "We are unable to find this record".

I have looked into the models\form.php code but it is quite complicated. Is there a way for Fabrik to use a negative primary key to edit/view a form?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant