L
|
larsonsc 1/6/2007 |
On the Edit SQL Query tab you can set the number of records shown on the first page. You could try setting that to 0 and see if that does what you need it to do. The other thing you can do if you use a menu is change the link to point to the ..._search.php page instead of _list.php. That would take them right to the search page where they can start their work. |
P
|
ploppy author 1/6/2007 |
thx 4 reply larson. i cannot seem to see a search.php file not even in the includes. what i have done is to set 0 show records on first page. hope that is ok? What i like about this prog is that is uses the smarty engine which offers flexible template system. Thank you for reply. |
L
|
larsonsc 1/6/2007 |
If you have enabled advanced searching for the view you are working on there should be a file named with an _search.php in the root folder once the project has been built. For example if your view is named "My Records" your file would be named My_Records_search.php. You can edit the html for the menu to point to the search page, but I think showing 0 records probably acheives the same end result. |
P
|
ploppy author 1/6/2007 |
just one more thing. is it possible to import excel file? thanks for help. |
L
|
larsonsc 1/6/2007 |
The are some programs that can do it, but PHPRunner isn't one of them. If you are using MySQL as your database software, EMS Software makes a product called Data Import for MySQL that seems to work fairly well provided your data in the spreadsheet is formatted the same way your database stores it. |
P
|
ploppy author 1/6/2007 |
cheers larson. will check it out. does this prog clear itself of all previous entries once it is overwritten. i ask because, i amended a database and it is erroring still asking for the old table which i changed and uploaded to server via ftp. PHP error 256 'search/include/dbconnection.php' how do i clear this? thanks. peter |
T
|
thesofa 1/6/2007 |
if you want to import data from an excel file to MYSQL, you could download the trial version of Navicat, or buy a licence for it, this allows total control of MYSQL databases, both locally, on a network and over the Internet. See the article here. |
L
|
larsonsc 1/6/2007 |
cheers larson. will check it out. does this prog clear itself of all previous entries once it is overwritten. i ask because, i amended a database and it is erroring still asking for the old table which i changed and uploaded to server via ftp. PHP error 256 'search/include/dbconnection.php' how do i clear this? thanks. peter
|
P
|
ploppy author 1/7/2007 |
thanks guys for the input. after using this program for a little while, i have com to the conclusion that it's main strengh is as an easy to use interface to create an administer databases through a GUI on a web server. As a backend tool, i think it is ace. However, it leaves me confused as to what it's functions are as a frontend customer search tool. In it's ad blurb, it states that visitors can add, edit,delete or update the database. why would your visitors want to do that? I can see this workign really well on an intranet or for a company where the emploee's would use it say on a helpdesk. If i am wrong guys, then acept my apologies and set me straight. as a further example, why when a visitor presses the search button with no input does it return all the resluts of the database? All the best guys and thanks for help so far. Peter |
T
|
thesofa 1/7/2007 |
thanks guys for the input. after using this program for a little while, i have com to the conclusion that it's main strengh is as an easy to use interface to create an administer databases through a GUI on a web server. As a backend tool, i think it is ace. However, it leaves me confused as to what it's functions are as a frontend customer search tool. In it's ad blurb, it states that visitors can add, edit,delete or update the database. why would your visitors want to do that? I can see this workign really well on an intranet or for a company where the emploee's would use it say on a helpdesk. If i am wrong guys, then acept my apologies and set me straight. as a further example, why when a visitor presses the search button with no input does it return all the resluts of the database? All the best guys and thanks for help so far. Peter
|
P
|
ploppy author 1/7/2007 |
thanks thesofa for a very informative explanation to my comments. On your last point however, If I search for nothing, none of the records drop through, because they all have fields that are not nothing
|
admin 1/7/2007 | |
Search button acts as "Show all" if nothing is entered in the search box. |
P
|
ploppy author 1/7/2007 |
thanks admin. just 2 more questions.
|
admin 1/7/2007 | |
I'm not familiar with x-cart to answer this question. Should be doable. |
P
|
ploppy author 1/7/2007 |
thank you very much. just FYO, x-cart is a smarty template driver e-commerce solution. You can modify this in Visual Editor - just check if search box is empty and don't submit search form
|
admin 1/9/2007 | |
If you are a registered user - send me your files and I'll help you with this. |