Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Current Record in a Recordset
Message
 
To
06/07/1999 20:46:47
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00237942
Message ID:
00238222
Views:
11
>
>I am pumped up to see people implementing XML... these question are getting very intersting.


Maybe you can see this one better!!!!

XML Rules!!!

Ok, I am getting extremely close. Here's what my 'simple' code is doing...

*Calls a VFP COM Server to query a table and return a Data Island - it is an Intranet so speed is extremely fast, and we are not going to update the data.
<%
Set oVfpObject = Server.CreateObject("ssikb.ssikb")
Response.Write(oVFPObject.conf_payor())
%>

** I can get the value of the currently clicked field
SCRIPT
function fnShowResults(){
lcValue = window.event.srcElement.parentElement.innerText;
alert(lcValue);
}
SCRIPT

** But, as you see, there are three fields - only one of which contains the value/key for the table (REMOTE). I need to get the value of the REMOTE field whenever a user clicks on the row.
TABLE ID ="oList" DATASRC="#XMLPAYOR" CELLSPACING=10 border=2
onclick="fnShowResults()" datapagesize=10
THEAD
TR
TH bgcolor=AquaType"TH
TH bgcolor=Aqua"Remote"TH
TH bgcolor=Aqua"Company"TH
TR
THEAD
TBODY
TR
TD"SPAN DATAFLD="TYPE""SPAN"TD
TD"SPAN DATAFLD="REMOTE""SPAN"TD
TD"SPAN DATAFLD="COMPANY""SPAN"TD
TR
TBODY
TABLE

Thanks in advance for the help... If you have a suggestion as to how to implement it differently, let her rip!!

Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform