| To: | REALbasic NUG Italian <realbasic-nug dot it at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: ListBox, database ed altro... |
| From: | Massimo Valle <maxduepuntozero at yahoo dot it> |
| Date: | Fri, 19 Jan 2007 13:53:17 +0100 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | realbasic-nug dot it at lists dot realsoftware dot com |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Received:X-YMail-OSG:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=2ABdD0BUMd3D8Dhqpi0uAwFDVyvNHJ4CvJrp26eEuIPhH0hLI7lPfDJflJnT0l6RkvNuX0PcTb3nmVm4WEvm6ARgYN119xcINh/Jmuet65iic0qhpx6Wm86Hd+xmYzmOZedNQSjBSVYle2fI05peQqRz1gTZD69KHn8qqz1gZFU= ; |
| References: | <697232B0-10F5-4CB8-9616-C4EB85642BBA at tin dot it> <D932E1EE-D96F-4DBA-AD89-9747F33050F4 at sqlabs dot net> |
On 19/gen/07, at 13:37, Marco Bambini wrote: In teoria si, però c'è un buco in REALbasic penso dalla version 3.0 che ti impedisce di farlo. L'errore è dato dal fatto che quando arrivi a leggere l'ultimo record del tuo RecordSet (ovvero quando RecordSet.EOF è true) il RecordSet viene chiuso e quindi diventa non più valido. Questa cosa non è controllabile o aggiustabile da chi scrive i plugin, ma è un buco di RealBasic che non è mai stato risolto. Accidenti, un bug niente male.Lo dissi che io mi intendo poco di DB e infatti mai mi sono scontrato con questo problema. C'è un bug report attivo da sottoscrivere?Devo anche notare che, memorizzare il recordSet potrebbe avere alcuni aspetti negativi. E' sicuramente utile quando serve avere un riferimento a un certo set di record senza fare nuovamente la query. Però se i dati cambiano nel DB, è necessario rifare la query, direi. Quindi bisogna stare attenti a come si usa una simile tecnica. Ad ogni modo non si può fare, quindi... Max Chiacchiera 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, database ed altro..., Massimo Valle |
|---|---|
| Next by Date: | Re: ListBox, database ed altro..., Marco Bambini |
| Previous by Thread: | Re: ListBox, database ed altro..., Marco Bambini |
| Next by Thread: | Re: ListBox, database ed altro..., Marco Bambini |
| Indexes: | [Date] [Thread] [Top] [All Lists] |