
Printing?
Seems so hard to get a print layout. Is there a way to create a form that can be used to print? I see either a list print view, or a one page per record print view.
-
Can you explain this a bit more please? "In the form print preview you can drag a view element onto the form that will allow you to print a list containing multiple records." What is the form print preview, and where do I get an element to drag onto it? Is there a video showing this?
I do see the tabs now, and I will work on that method. Is there a way there to print more than one record per page with a tab layout?
-
https://www.youtube.com/watch?v=_FA5-uMV8u8
It will take about hour and twenty minutes out of your day.
-
See free Nioxus video "Creating Reports in Ninox and Printing Embedded Views":
https://www.youtube.com/watch?v=_FA5-uMV8u8
It is long, but it will open a whole new world.
-
I watched Andy's video. Extremely helpful. Did need to take a few breaks, and a nap! Anyway, thanks Andy and thanks here for the link.
Question: Andy shows creating code to print the current record and save it to his desktop. I created a button with the code. It works, but mine printout opens directly in my PDF app. How do I make it save to the desktop?
-
I haven't watched the whole video, but I did find a point in the video where he saves to the desktop. What pops up when he clicks on the button is his PDF app. It has a folder list on the left side and prompts him to save the file. My PDF app (PDF Expert) does the same thing yours does so I think it has more to do with the default PDF app.
-
Hope someone catches this thread. I have watched the Nioxus tuorial about printing embeded views. Having adapted the code to my tables it works perfectly.
I want to add a feature where the line items are pre-selected according to a month field using select ...where Month= xMonthChoice I've added this field as choice field in the original table just like it is in the line items table using the same words and order of the month choice. Here is the code I did. When I choose January or February , it works fine, but all other choices give a blank report! any ideas? My fields are in french btw.let i := null; let xCurrRec := Id; let xAnnee := 'Année'; let xCodeSaison := 'Code année'; let xChoixMois := 'Choix pour impression'; let i := (create 'Année Impression Mois'); i.('Année' := xAnnee); i.('Choix du mois' := xChoixMois); for j in select 'Décompte mensuel' where xChoixMois = Mois do let k := (create 'Décompte mens Imprimer'); k.(Mois := j.Mois); k.('Année' := j.'Année'); k.(Nom := j.Nom); k.('Nom si invité' := j.'Nom si invité'); k.('H.Supp.' := j.'H.Supp.'); k.('H.Rempl.' := j.'H.Rempl.'); k.('H.Mission Mensuel' := j.'H.Mission Mensuel'); k.('Année Impression Mois' := i) end; printRecord(record('Année Impression Mois',number(i)), "Impression Mois"); delete (select 'Année Impression Mois')