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

knop_database oncreate -keyfield's column cannot be numeric #114

Open
stevepiercy opened this issue Jul 13, 2015 · 1 comment
Open

knop_database oncreate -keyfield's column cannot be numeric #114

stevepiercy opened this issue Jul 13, 2015 · 1 comment
Labels
Milestone

Comments

@stevepiercy
Copy link
Member

This code will fail.

var(db) = knop_database(
    -database='database',
    -table='table',
    -maxrecords=$maxrecords,
    -keyfield='id',
    )
An unhandled failure during a web request
Error Code: 21
Error Msg: Is a directory
Error Stack: 
169:20 file.lasso

Use a varchar for -keyfield.

@stevepiercy stevepiercy added this to the 0.2 milestone Jul 13, 2015
@maxwellk2
Copy link

If the datasource is FileMaker (tested with FMSv13) -keyfield can remain "numeric" without generating this error.

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

No branches or pull requests

2 participants