| To: | REALbasic NUG Italian <realbasic-nug dot it at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: Listbox |
| From: | Lucio Liberi <lucioing at tin dot it> |
| Date: | Wed, 17 Jan 2007 19:38:06 +0100 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-nug dot it at lists dot realsoftware dot com |
| References: | <3C32ACD8-27F8-496B-937A-3D8AB7C6BAF8 at tin dot it> <8B1F4257-80DE-4852-B2DB-05B4E61E59E8 at tin dot it> <8BF04970-710A-4257-B919-A2B70DA88E2C at yahoo dot it> <C6CF8C0A-BD3A-492B-8279-4188D1E35250 at tin dot it> <AD155253-3871-43C0-BD2A-4EA81646D95D at yahoo dot it> <40B1630B-82DE-4962-89F3-883512E6330C at tin dot it> <ED3BB116-2CE0-4F43-966D-FD28206B2CB7 at yahoo dot it> <3AE6D839-82B0-4107-A8CA-94E55FCC4867 at tin dot it> <F92048DA-4D71-494E-9D65-7551711CDABA at yahoo dot it> <76B662AB-4F07-417E-AFC7-863F1D6235E4 at tin dot it> <9FD793E9-45E9-4D29-BBE3-9C59274B21DE at yahoo dot it> |
c'e' un popum menu con tutti i nomi delle carte di credito in uso... nel sub Change ho scritto: Dim rs as RecordSet Dim Totale As Double Dim i As Integer Dim MoneyFormat As string MoneyFormat="#,###,###.00" Totale=0 StaticText1.text=Format(Totale, MoneyFormat) if me.Text="Tutte le carte" Thenrs = myCCdatabase.SQLSelect("SELECT * FROM CreditCardOperations ORDER BY DataInteger") elsers = myCCdatabase.SQLSelect("SELECT * FROM CreditCardOperations WHERE CreditCard='"+me.Text+"'"+"ORDER BY DataInteger")
end if
App.FillListBox(OPListBox, rs)
for i=0 to OPListBox.ListCount-1
Totale=Totale+CDbl(OPListBox.cell(i,3))
StaticText1.text=Format(Totale, MoneyFormat)
next
ciao...
Lucio
Il giorno 17/gen/07, alle ore 19:22, Massimo Valle ha scritto:
On 17/gen/07, at 18:11, Lucio Liberi wrote:Insomma, i decimali separati dal punto che c'e' sul pad numerico, che poi nel nostro layout di tastiera, corrisponde alla virgola...Si, forse e' il caso di coinvolgere anche Marco...Puoi postare la query "SELECT....." che usi per ottenere il RecordSet? MassimoChiacchiera con i tuoi amici in tempo reale!http://it.yahoo.com/ mail_it/foot/*http://it.messenger.yahoo.com |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Listbox, Massimo Valle |
|---|---|
| Next by Date: | Re: Algoritmo di Undo/Redo, Fabio Soggia |
| Previous by Thread: | Re: Listbox, Massimo Valle |
| Next by Thread: | Re: Listbox, Massimo Valle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |