realbasic-nug
[Top] [All Lists]

Re: Database class fieldschema

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Database class fieldschema
From: Norman Palardy <npalardy at great-white-software dot com>
Date: Wed, 28 Jun 2006 14:29:41 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <FD4FF6D3-420E-457D-9DB0-93F55826CBE7 at spaziowww dot net> <44A2671F dot 3050607 at chello dot nl>

On Jun 28, 2006, at 5:25 AM, Andre Kuiper wrote:

Hi Sergio,

You can use : rs.IdxField(i).Value.Type
where rs is the recordset containing the fieldschema

The returned numbers with the typenames are listed in the LR under Database-Class.
An example you can find here:
http://support.realsoftware.com/feedback/download.php? file=6220&rid=19112

HTH,
Greetings,
Andre

Look up FieldSchema in the LR as part of Database

FieldSchema returns a RecordSet with five fields: ColumnName ( String), FieldType ( Integer), IsPrimary ( Boolean), NotNull ( Boolean), and Length in bytes ( Integer) for Text fields.

FieldType is described in the LR

The method above gives you the RB type for each column in the recordset returned not the type for each column in the database table you got the field schema for


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


From  Wed 28 Jun 2006 22:42:46 +0200
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id EAD50719D58; Wed, 28 Jun 2006 13:43:09 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on www.realsoftware.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.5 tests=AWL,BAYES_00 autolearn=ham version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
        by xmail.realsoftware.com (Postfix) with ESMTP id 20741719D4C;
        Wed, 28 Jun 2006 13:43:07 -0700 (PDT)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id 93627133F9E9; Wed, 28 Jun 2006 15:42:55 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de
        [80.67.18.16])
        by lists.realsoftware.com (Postfix) with ESMTP id CA4AD133F9DA
        for <realbasic-nug at lists dot realsoftware dot com>;
        Wed, 28 Jun 2006 15:42:46 -0500 (CDT)
Received: (qmail 31404 invoked from network); 28 Jun 2006 20:42:46 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 110 dot 
63])
        (envelope-sender <support at monkeybreadsoftware dot de>)
        by smtprelay04.ispgateway.de (qmail-ldap-1.03) with SMTP
        for <realbasic-nug at lists dot realsoftware dot com>; 28 Jun 2006 
20:42:46 -0000
To: realbasic-nug at lists dot realsoftware dot com (REALbasic NUG)
In-Reply-To: <339DAF13-9EA6-4F3C-AEE2-9C49085D2BD2 at isticky dot net>
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Wed, 28 Jun 2006 22:42:46 +0200
Message-ID: <1hhnz24 dot 83s9ut1e9fcv3M%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
        Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.7 (Mac OS X version 10.4.6)
Subject: Re: Contextual Menu Plugin
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

realbasic at isticky dot net <realbasic at isticky dot net> wrote:

Hi all,
=20
Can sombody tell me if it is possible to write a Contextual Menu =20
Plugin which is working in the Finder?

I already made one.

<http://www.monkeybreadsoftware.de/Freeware/AliasInfoCM.shtml>

Gru=DF
Christian

--=20
Around eleven thousand functions in one REALbasic plug-in.=20
The Monkeybread Software Realbasic Plugin v6.2.
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>