0

I am making program for hospital, every patient examination needs to have protocol number, who will increase for each examination, how can i make that part dynamic, for example i want to have like this in firebase index:'1/2018', next examination index:'2/2018'.

enter image description here

I am using angular 5 framework. Ty.

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Viktor Molnar
  • 99
  • 3
  • 13
  • Your question is very broad. Providing more details on what you're doing, what you've tried so far and which issue you're getting shall help to get answers for that. – GCSDC Dec 04 '18 at 18:28
  • @GCSDC i dont know from where to start. Is there way to connect all indexes in firebase so i can i++ every next input. – Viktor Molnar Dec 04 '18 at 18:46
  • [This answer](https://stackoverflow.com/questions/39065786/auto-increment-a-value-in-firebase-with-javascript) may help – GCSDC Dec 04 '18 at 19:40

0 Answers0