Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yousfi Benameur
  Where is Yousfi Benameur?
 El Bayadh
 Algeria
 Yousfi Benameur
 Tags
Subject: AnyTable2Web
Thread ID: 310717 Message ID: 310717 # Views: 128 # Ratings: 11
Version: Visual FoxPro 9 SP2 Category: Web Applications
Date: Thursday, June 23, 2011 7:21:40 PM         
   


this once i played to export any vfp table to web but with some cosmetics.
this is in first try done with genhtml.prg or some custom coding in old and static style.

This is javascript table viewer sorter and pager.Its a standard web table but commanded with js class and styled with css.
-use a cursor (bind with any select statement- here all fields are selected)
-Can sort any field ascending,descending
-set the entries per page
-search on any column or in all columns (filtering is dynamic)and the records are selected in consequence.
-navigate on pages (page collection-can display any page in combo)
-preview any page ,print (only the printable areas - unfortunatly only the viewed page at this time).
-Can sum any numeric column (to initialize in javascript code)
-Average any numeric column (also in the code)
---library (js+css file) from TinyScroller javascript (free)
---http://www.scriptiny.com/2009/11/advanced-javascript-table-sorter/
(the library has been tested in all major browsers and is available free of charge for both personal or commercial projects under the creative commons license.)
i dont know the performance for big tables. it works fine for common ones.

I share this small tool with all.
download the zip and run the exe.
https://www.foxite.com/uploads/c8a8b672-6b1c-49d4-ae38-a72fdd919e29.zip
Any interesting feedback is welcome.



Regards
Yousfi Benameur

ENTIRE THREAD

AnyTable2Web Posted by Yousfi Benameur @ 6/23/2011 7:21:40 PM
RE: AnyTable2Web Posted by Stefanus Eddy @ 6/23/2011 9:03:31 PM
RE: AnyTable2Web Posted by Tariq mehmood @ 6/24/2011 3:06:06 AM
RE: AnyTable2Web Posted by claude fox @ 6/24/2011 4:49:28 AM
RE: AnyTable2Web Posted by khubaib khalid @ 9/18/2011 6:54:10 PM
RE: AnyTable2Web Posted by khubaib khalid @ 9/18/2011 7:03:42 PM
RE: AnyTable2Web Posted by Yousfi Benameur @ 9/18/2011 7:37:31 PM
RE: AnyTable2Web Posted by khubaib khalid @ 9/18/2011 8:34:56 PM
RE: AnyTable2Web Posted by Thierry Nivelet @ 9/20/2011 12:50:22 PM
RE: AnyTable2Web Posted by Yousfi Benameur @ 9/20/2011 3:09:05 PM
RE: AnyTable2Web Posted by claude fox @ 9/20/2011 10:30:43 PM
RE: AnyTable2Web Posted by Noel Cris @ 9/19/2011 1:40:03 AM
RE: AnyTable2Web Posted by Yousfi Benameur @ 9/19/2011 11:06:50 AM
RE: AnyTable2Web Posted by Dan Baker @ 9/19/2011 9:35:03 PM
RE: AnyTable2Web Posted by Yousfi Benameur @ 9/20/2011 12:02:41 AM
RE: AnyTable2Web Posted by Dan Baker @ 9/20/2011 3:08:32 PM