Re: Universal Data Type
- From: "David Frankenbach" <sendnospam@xxxxxxxxxxxxxx>
- Date: Wed, 13 Jul 2005 09:49:02 -0500
Jeff,
You'll have to use a binary memo field for u. Your Universal table will
probably also need type and fieldname columns so that you can retrieve the
data later and correctly interpret it. But I'm with Christophe on this one,
why would you want to do this?
--
df - Microsoft MVP FoxPro http://www.geocities.com/df_foxpro
"Jeff Grippe" <jgrippe@xxxxxxxxxxx> wrote in message
news:11da5bkseuslecd@xxxxxxxxxxxxxxxxxxxxx
> Can anyone think of a way to store data into a database as a universal
> (binary) datatype and then be able to retreive it later?
>
> For example:
>
> I would like to be able to take any field from any table (including memos)
> and put it into this datatype.
>
> Suppose I had the following tables:
>
> MainTable
> Name c(10)
> Age n(3,0)
> Notes m
> Expire d
> Member l
>
> Universal
> Data u (or whatever the universal data type is)
>
> I would want to be able to:
>
> Replace u with Name or
> Replace u with Age or
> Replace u with Notes or
> Replace u with Expire or
> Replace u with Member
>
> Right now the best I can come up with is to use a memo field and do
> conversions for numeric, date, datetime, and logical fields.
>
> Can anyone think of anything better?
>
> Thanks,
> Jeff
>
.
- Follow-Ups:
- Re: Universal Data Type
- From: Jeff Grippe
- Re: Universal Data Type
- References:
- Universal Data Type
- From: Jeff Grippe
- Universal Data Type
- Prev by Date: Re: Program too large
- Next by Date: Re: Program too large
- Previous by thread: Re: Universal Data Type
- Next by thread: Re: Universal Data Type
- Index(es):
Relevant Pages
|
Loading