• unable to assign imported pics to a sub album

    By Wolfgang Hass 2 decades ago

    first of all, thank you for this great application. I am using the 1.1.9a and have the a.m. problem to assign pics to a sub album. is this a configuration problem?

    btw. did you develop the appl. with nd7, I've got some warnings while I opened the subforms in the designer 6.5.4



    Regards, Wolfgang

    • By Christian Brandlehner 2 decades ago

      Hi Wolfgang,

      did you try to import pictures into a subalbum or did you edit an existing picture to add it to a subalbum?



      Yes, we used the ND7 designer client but we did not use any design elements that do not exist in ND6 so this should not cause any problems, just ignore the warning.



      Christian

      • Same error

        By Kevin P Mote 2 decades ago

        I am having the same issue (and in looking at this example db link from the About page of this project: http://www.brandlehner.at/Brandlehner/c2picture.nsf/albums/CBRR-67LSLH, it looks like the same issue is popping up). Here is the formula for selecting an image in the sub-album form: "Photo Album_sub_en - Form" : @DbLookup("Notes":"NoCache";"":"";"LookupsAllPicturesbyAlbum";AlbumName;3;[FailSilent])



        In looking at the view "LooksupsAllPicturesbyAlbum", I see that the field being looked up is "$$Categories". Further investigation from the used to import pictures "ImportProfile_en - Form" shows that this field gets populated with the Album name, not the Sub_Album name. Therefore, if you do not have any pictures saved under the main album, you won't see any choices for pictures in the Sub Album form. I changed the first field in the "LookupsAllPicturesbyAlbum" view to the following formula: @If(album_sub = "";$$Categories;album_sub). I don't like having a formula like this in here for the selection criteria, but it was a quick fix ;-). Haven't tested all of the other functionality in this application yet to verify I haven't broken anything else with this, so make sure you comment your changes if you try this.