realbasic-nug.it
[Top] [All Lists]

OpenDBFCursor

To: REALbasic NUG Italian <realbasic-nug dot it at lists dot realsoftware dot com>
Subject: OpenDBFCursor
From: Gualeni Giovanni <ggualeni at tiscali dot it>
Date: Sat, 7 Oct 2006 15:26:58 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug dot it at lists dot realsoftware dot com
Ciao a tutti,
dalla pag. 449 del manuale di riferimento:

OpenDBFCursor Function
Opens an xBase format file (i.e., a dbf file from dBase) as a RecordSet.

Segue esempio (sempre nella pag. del manuale):

Dim db as RecordSet
db=OpenDBFCursor(GetFolderItem("phone.dbf"))
If db <> Nil then
//proceed with database operations
else
Beep
MsgBox "The database couldn't be opened."
end if

Purtroppo l'esecuzione si blocca con: Type Mismatch Error. Expected RecordSet, but got DatabaseCursor.

??? Giovanni


<Prev in Thread] Current Thread [Next in Thread>
  • OpenDBFCursor, Gualeni Giovanni <=