How to print from database?

I made a timer app that mimicks a stop watcher. Now i am making a calendar app that accesses the data from the stopwatch timer app that i made. I need to have the calendar app display the data of “elapsed_time” from my timer app. I managed to get access to the database from my timer app in my calendar app, but do not know how to call from the data base from timer app to print things

Hello,

If by “print” you mean that you want to send a page to the physical printer, please see this post:

There are also a handful of other posts on that kind of printing on the forum (just search for “print page” and you’ll find a few).

If by “print” you mean that you just want to send results back to the client and display them, and perhaps you are stuggling with the database, the timer, or something else, perhaps you could show what you have tried (with code and an example app if possible), and we can help to sort things out.

You could create an http endpoint in one app (https://anvil.works/blog/http-api-endpoints) that returns information from your database and then make a request to it from your other app.