Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Showing the content of a table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Divers
Thread ID:
00878914
Message ID:
00879115
Vues:
14
Looks like you're mixing up data tables and HTML tables.
The first parameter of the htmlTable method is the Tag
you've given to the HTML table in the HTML, not
the actual name of the data table.
For example, if the HtmlTable method looks like this:
lcHTMLout= oHTML.htmlTable('orders',lcHTMLout,10,.T.,'#E5E5E5',.F.;
 ,VAL(oRequest.querystring("page")),oRequest.querystring("nav"))
Your html should look like this(orders is the name of the html table)
<orders> 
Date                               ID                           Amount
< %= tCursor.Order_Date %>  < %= tCursor.Order_id %>  < %= tCursor.order_net%>
</orders>
>I am trying to undesrtand what i need to do in order to use ActiveVFP for developing a little one form app. now I'm reading the documentation and trying to figure out how to posta table in the page. so I modify the main.prg like this
>
>
>CASE oProp.Action=='hello'
>	lcHTMLout= oHTML.htmlTable('c:\temp\test\html\tcursor',lcHTMLout,5,.F.,'#E5E5E5',.F.,0,'')
>	lcHTMLout= oHTML.mergetext(lcHTMLout)
>
>
>and give me this error when trying to load the page
>
>
>Technical Information (for support personnel)
>
>Error Type:
>htmltable err#= 11 line= 183 Function argument value, type, or count is invalid.11 Function argument value, type, or count is invalid. .NULL. .NULL. .NULL. .NULL. .NULL. c:\temp\test\test.dll (0x800A000B)
>c:\temp\test\test.dll
>/test/default.asp, line 6
>
>
>what I am doing wrong?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform