Quantcast
Channel: Visual Basic Tips and Tricks
Viewing all articles
Browse latest Browse all 2212

Funzione Count in VB6

$
0
0

Buongiorno a tutti e innanzitutto già un bel grazie per l'ospitalità. :-)

Piccola premessa, che è bene leggere: quando vedete le pubblicazioni in cui si parla di inetti nei vari campi, ecco uno di quelli sono io. 

Vi assicuro che ho cercato e ricercato su testi e sul web, ma niente: ho scritto questo tocchettino di codice, ma non so come terminarlo per esplicitare il risultato della query:


Dim myquery As String

myquery="Select Count (*) from tabella1"

DataStatistica.DatabaseName = App.Path & "\Diet1.mdb"

DataStatistica.RecordSource = myquery

DataStatistica.Refresh

 

E adesso? Come faccio per visualizzare il risultato della mia richiesta? Io inserirei un bel "LabelStatistica. Caption = xxx" ma xxx cosa? 

Pronto ad accettare tutte le bacchettate sulle dita da chicchessia, mi affido al vostro buon cuore: siamo prossimi al Natale, fate una buona azione. ;-) 

 

TRD 



Viewing all articles
Browse latest Browse all 2212

Trending Articles


HOY PANGIT, MAGBAYAD KA!


Henry el monstruo feliz para colorear e imprimir


Dama y vagabundo para pintar


Girasoles para colorear


Good Morning Quotes


RE: Mutton Pies (jameskoiman)


Hagibis (1946) by Francisco V. Coching


Ka riam ka beit bad ka por riam


Vimeo Create - Video Maker & Editor 1.6.0 by Vimeo Inc


Vimeo 3.42.1 by Vimeo Inc