Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Tricky global with two tables

Quote Reply
Tricky global with two tables
Hello,

i have one tableX:
Username (PRI) Date1 Date2
------------------------
demo 2004-03-02 2004-03-01
testy 2004-03-20 2004-03-04

And i have a tableY:
Date(PRI) Attr1 Attr2
-----------------------
2004-03-02 A B
2004-03-03 C D
2004-03-04 E F

User testy is logged in!

So i need a global, which do this things:
  • Find from testy the value of Date2 in tableX ( --> 2004-03-04)
  • Search for this date in tableY and find in this datarecord the value of Attr2 ( --> "F")
  • Print this "F" out

Can anybody help me?

Thanks in advance,

Coyu
Subject Author Views Date
Thread Tricky global with two tables Coyu 3164 Apr 3, 2004, 7:43 AM
Thread Re: [Coyu] Tricky global with two tables
afinlr 3068 Apr 3, 2004, 8:04 AM
Thread Re: [afinlr] Tricky global with two tables
Coyu 3070 Apr 3, 2004, 9:54 AM
Thread Re: [Coyu] Tricky global with two tables
afinlr 3054 Apr 3, 2004, 10:02 AM
Thread Re: [afinlr] Tricky global with two tables
Coyu 3053 Apr 3, 2004, 10:48 AM
Thread Re: [Coyu] Tricky global with two tables
afinlr 3029 Apr 4, 2004, 4:44 PM
Post Re: [afinlr] Tricky global with two tables
Coyu 3015 Apr 5, 2004, 12:34 AM
Post Re: [afinlr] Tricky global with two tables
Coyu 2997 Apr 5, 2004, 3:08 PM