I am trying to create a web version of an Access database. The database is a discography of music by Elgar. I have succeeded in importing my Access data into sqlite and thence into jam.py. There are tables such as Title and Orchestra, which contain a text field and an index field, plus a master table which contains references to the index fields of the various tables but not the actual data. I have read all the documentation I can find, but I can’t see how to go about linking the tables in jam.py. Grateful for any pointers or assistance.
Thanks for your prompt replies, Dean. I think I understand in principle how the demo databases work, but I don’t at the moment know which buttons to press on my own database to replicate them. You said that the primary keys need to be autonumber fields, something I haven’t seen mentioned anywhere else. In my tables, the primary keys are the ID fields which are not autonumber. Should I add a new autonumber field to each table and make it the primary key, and if so how do I do it? – the system doesn’t let me change the primary key.
May I add that it has taken me a long time to get to this stage, with many frustrations along the way. Some of these were no doubt due to my lack of knowledge, but there were things which I couldn’t reasonably have been expected to know: for example, that you have to use cmd.exe in Windows 11, not Powershell, and that jam.py doesn’t run under the latest version of Python. Anyway, having spent so much time on this, I don’t intend to give up now!
I decided to reinstall everything, this time using Python3.13 and installing imghdr as per the instructions. However before I go through the rather longwinded process of importing my data again, I thought I should let you see my sqlite file in case I need to change anything there. Once again, I’m grateful for your help
Thanks for this, and I’m sure I’ll owe you more than one pint by the time I’m finished!
I have hit two issues, possibly related. Firstly, when I run server.py I get this message:
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on all addresses (0.0.0.0)
* Running on http://127.0.0.1:8080
* Running on http://192.168.0.117:8080
Press CTRL+C to quit
The application builder still opens, but when I attempt to import tables, no tables are shown.