Associative tables/images/other
Posted: Mon Mar 09, 2020 8:33 pm
Still a newbie with some basic questions. This is a personal project to play with the application builder and running into some issues. I will go into detail on each and if it is too much ignore but better than you having to come back to ask me for more info. I can also provide the database which is very normalized which I am finding makes this more difficult but want to emulate a real life project so did it the semi correct way. So here it goes.
1. On an object the input type when number or date does not give the format drop down on screen and if you get it looking at pre-established objects it is not populated. This is not a big deal and I have a work around by just updating the zzz table and putting in the info. Just odd that I have loaded multiple versions of this and multiple SQL db’s and all seem to have some glaring issues. Seems almost impossible to get a version of MySQL(mariadb), PHP, etc that all play well on same versions is problematic. This is not a MAJOR issue and have work around.
2. Was creating a gun inventory db for myself and I can provide the DB and examples using my db would be great because every time I try to load others for examples like livedemo and others they seem to never load because of versions or something else. I was expecting to have tabs on the gun like Details (main info), Images (images of gun with captions) and contacts. Contacts can be of type purchased from, given from, sold to or given to by gun. I also have a lot of code tables used in this db. So like on the contacts tab, at a higher level you have already selected a gun and are at the details, images, contacts tab. Contacts table has guns_id and contact_info_key, contact_info had contact_info_id and contact_type_id and contact_type code table with contact type description. I also have other associative tables like gun_caliber that points to caliber table (multiple calibers for a gun) and it has an attribute on the associative table of caliber ignition type id which points to a code table. I have had no success being able to loading any tab besides details. I have watched 10 hours of demos and tried 10 hours of stuff. Tried the #guns_id# on the contacts form query and many other things with no success. Taking my DB and giving an example would be awesome and appreciated
3. Wanted to play with BLOB image stored in DB. I know I should use url and point to images on server. I would love to see an example of both. Have tried to load a demo that shows but never could get any to work. I have an image table that has a guns_id key and image_id. I have an image loaded for gun 1 but can’t get to display any way shape or form. This db will not house over 500 images but would like to seen an example of both ways to show images. File upload and display and display from db. I have spent many hours and just hit dead ends and no good video that I can seem to translate to make it work.
Ok Environment info:
1. Windows 10
2. xampp 3.2.4
3. Mariadb 10.4.11
4. php 7.4.2
5. apache 2.4.41
Thanks for help in advance.
Mike
1. On an object the input type when number or date does not give the format drop down on screen and if you get it looking at pre-established objects it is not populated. This is not a big deal and I have a work around by just updating the zzz table and putting in the info. Just odd that I have loaded multiple versions of this and multiple SQL db’s and all seem to have some glaring issues. Seems almost impossible to get a version of MySQL(mariadb), PHP, etc that all play well on same versions is problematic. This is not a MAJOR issue and have work around.
2. Was creating a gun inventory db for myself and I can provide the DB and examples using my db would be great because every time I try to load others for examples like livedemo and others they seem to never load because of versions or something else. I was expecting to have tabs on the gun like Details (main info), Images (images of gun with captions) and contacts. Contacts can be of type purchased from, given from, sold to or given to by gun. I also have a lot of code tables used in this db. So like on the contacts tab, at a higher level you have already selected a gun and are at the details, images, contacts tab. Contacts table has guns_id and contact_info_key, contact_info had contact_info_id and contact_type_id and contact_type code table with contact type description. I also have other associative tables like gun_caliber that points to caliber table (multiple calibers for a gun) and it has an attribute on the associative table of caliber ignition type id which points to a code table. I have had no success being able to loading any tab besides details. I have watched 10 hours of demos and tried 10 hours of stuff. Tried the #guns_id# on the contacts form query and many other things with no success. Taking my DB and giving an example would be awesome and appreciated
3. Wanted to play with BLOB image stored in DB. I know I should use url and point to images on server. I would love to see an example of both. Have tried to load a demo that shows but never could get any to work. I have an image table that has a guns_id key and image_id. I have an image loaded for gun 1 but can’t get to display any way shape or form. This db will not house over 500 images but would like to seen an example of both ways to show images. File upload and display and display from db. I have spent many hours and just hit dead ends and no good video that I can seem to translate to make it work.
Ok Environment info:
1. Windows 10
2. xampp 3.2.4
3. Mariadb 10.4.11
4. php 7.4.2
5. apache 2.4.41
Thanks for help in advance.
Mike