forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Getting @tem(Table1) information....

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
Andy_Fletcher
Contributor
Contributor


Joined: 10 Jun 2003
Posts: 90
Location: Somerset, United Kingdom

PostPosted: Mon Dec 08, 2003 6:48 pm    Post subject: Getting @tem(Table1) information.... Reply with quote

Hi Guys, Just started to use the Table element for the first time.

Tried useing like a List element to get information from where I click but does not seem to react at all. N0 errors just acts like no event generated.

Am I going about this the wrong way ?

P.S.
I only want the data from the highlights row and column so if I have a table with the following:

RefID Name Lname Tele email
0001 Andy Fletcher
0002 Any One

I Click on 0001 and I want only 0001 to be returned. Rolling Eyes

Any help much appreciated
Regards
Andy Fletcher
Back to top
View user's profile Send private message
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Mon Dec 08, 2003 7:15 pm    Post subject: Reply with quote

Simply Parse the result:


Code:

Option Fieldsep,@tab()
PARSE "%%RefID;%%Name;%%Lname;%%Tele;%%email",@item(table)
info %%RefID


Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Andy_Fletcher
Contributor
Contributor


Joined: 10 Jun 2003
Posts: 90
Location: Somerset, United Kingdom

PostPosted: Mon Dec 08, 2003 8:06 pm    Post subject: Reply with quote

Many Thanks Fabian,
This would be okay if I could get a Click event to occur. Sad

I have named my table eResult and created an label for the event of
:eResultCLICK
But nothing happens when I click on it. I have set the dialog with a CLICK
parameter also. Anything wrong hear ?

Regards
Andy Fletcher

X-Tools wrote:
Simply Parse the result:


Code:

Option Fieldsep,@tab()
PARSE "%%RefID;%%Name;%%Lname;%%Tele;%%email",@item(table)
info %%RefID


Bye, Fabian
Back to top
View user's profile Send private message
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Mon Dec 08, 2003 8:40 pm    Post subject: Reply with quote

I seem to remember having some problem when I was messing around with Tables - I had to name my tables Table1, Table2, etc. That solved it, or at least I thought at the time. Don't know if it would work for you. (It could be that I accidentally fixed it some other way, and just thought the renaming fixed it - I don't know.)
_________________
Joe Floyd
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Tue Dec 09, 2003 1:34 am    Post subject: Reply with quote

Be sure that you leave an open space between your last column setup
there and the CLICK style. The hint goes in the blank spot if you want
a popup hint. I can't tell you how many times I've forgotten about the
hint spot there and had click there, and then pissed and groaned about
the click not working. Wink

Code:
DIALOG ADD,TABLE,TABLE1,24,14,600,268,ID[70]|Class[110],,CLICK,COLUMNSORT


-Garrett

_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Dec 09, 2003 12:42 pm    Post subject: Reply with quote

i was going to suggest the very same thing garrett Very Happy

serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Andy_Fletcher
Contributor
Contributor


Joined: 10 Jun 2003
Posts: 90
Location: Somerset, United Kingdom

PostPosted: Tue Dec 09, 2003 2:12 pm    Post subject: Reply with quote

Many thanks for your comments i'll try renaming them later today and let you know for your own "Known fix" list.

Regards
Andy Fletcher

jwfv wrote:
I seem to remember having some problem when I was messing around with Tables - I had to name my tables Table1, Table2, etc. That solved it, or at least I thought at the time. Don't know if it would work for you. (It could be that I accidentally fixed it some other way, and just thought the renaming fixed it - I don't know.)
Back to top
View user's profile Send private message
Andy_Fletcher
Contributor
Contributor


Joined: 10 Jun 2003
Posts: 90
Location: Somerset, United Kingdom

PostPosted: Tue Dec 09, 2003 2:15 pm    Post subject: Reply with quote

Ahhhhh ! Cool
That makes sence, Many thanks Garrett.

Regards
Andy Fletcher

Garrett wrote:
Be sure that you leave an open space between your last column setup
there and the CLICK style. The hint goes in the blank spot if you want
a popup hint. I can't tell you how many times I've forgotten about the
hint spot there and had click there, and then pissed and groaned about
the click not working. Wink

Code:
DIALOG ADD,TABLE,TABLE1,24,14,600,268,ID[70]|Class[110],,CLICK,COLUMNSORT


-Garrett
Back to top
View user's profile Send private message
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Tue Dec 09, 2003 5:24 pm    Post subject: Reply with quote

I tried another test - I don't think your problem has anything to do with the names of the tables. I tried tables named different things and they worked fine.

When I inserted a table element with the dialog designer, and chose the CLICK style, it inserted it in the section reserved for HINT. (Like the example from Garrett above.)

Has this bug been reported so it can be fixed in the next version?

_________________
Joe Floyd
Back to top
View user's profile Send private message
Andy_Fletcher
Contributor
Contributor


Joined: 10 Jun 2003
Posts: 90
Location: Somerset, United Kingdom

PostPosted: Mon Dec 15, 2003 10:35 pm    Post subject: Reply with quote

Hi Joe,
I assume as Garrett knew about this that he would probably have reported the bug.
All okay with me now I know about the bug Smile

regards and many thanks for your help.
Andy Fletcher.


jwfv wrote:
I tried another test - I don't think your problem has anything to do with the names of the tables. I tried tables named different things and they worked fine.

When I inserted a table element with the dialog designer, and chose the CLICK style, it inserted it in the section reserved for HINT. (Like the example from Garrett above.)

Has this bug been reported so it can be fixed in the next version?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group