It is currently 18 April 2026, 0:13 Advanced search

recordCOunt dentro una foreach

Domande e risposte su come utilizzare Instant Developer Foundation al meglio

recordCOunt dentro una foreach

Postby texw » 19 June 2025, 22:04

per caso INDE espone in qualche variable il numero degli elementi estratti dalla query sottostante il ciclo for-ech in esecuzione? (ma potrebbe essere esteso a tutti i cicli sul db)

una sorta di lastSQLRecordCount()

mi sarebbe utile per aggiornare la barra di avanzamento tramite la TrackPhase

graziee
Last edited by texw on 25 June 2025, 8:32, edited 1 time in total.
CadCentric
texw
 
Posts: 546
Joined: 1 February 2018, 8:25

Re: recordCOunt dentro una foreach

Postby f.faleschini » 23 June 2025, 10:48

ciao
è una feature aggiunta alcune release fa
dentro un foreach puoi scrivere

Code: Select all
int totaleCicli = forEachCount()


ecco l'help
https://doc.instantdeveloper.com/397379 ... m?LANG=ITA

credo sia quello che chiedi

Ciao!
f.faleschini
 
Posts: 1140
Joined: 12 April 2017, 9:09

Re: recordCOunt dentro una foreach

Postby texw » 25 June 2025, 8:33

ottimo grazie
CadCentric
texw
 
Posts: 546
Joined: 1 February 2018, 8:25


Return to Tips & Tricks - Foundation

Who is online

Users browsing this forum: No registered users and 70 guests