1. RE: How To Do This...

C. K. Lester wrote:
 
> I want to reference data like so:
> 
>     x = company.name -- so x = "My Company, Inc."
> 
>     y = company.contact.name.first -- so y = "Christopher"
> 
> or something like that.
> 
> Who's got somethin' for me?!

   I also suggest you look in the archives for Kat's token library.

Hans Peter Willems

new topic     » topic index » view message » categorize

2. RE: How To Do This...

C. K. Lester wrote:
> 
> I want to reference data like so:
> 
>     x = company.name -- so x = "My Company, Inc."
> 
>     y = company.contact.name.first -- so y = "Christopher"
> 
> or something like that.

You could do this with a EuSQL table.  An easy way to set this up would 
be to use my Euphoria Database Browser.  Then you could do something 
like:

x = get_record( my_db, company_table, "My Company, Inc.",
  "contact.name.first", "")

Basically, a field can be a sequence containing other subfields, to 
whatever level you like.

Matt Lewis

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu