|
Frustration with Database Interface Wizard
|
Logged in as: Guest
|
Name: | |
|

kidro2
Posts: 2
Member since: 1/25/2004

|
RE: Frustration with Database Interf... (in reply to Geo)
|
|
|
Ok folks, I may have found a solution. The key is in the message: "Database Results Wizard Error Your page contains a query with user input parameters that could not be resolved. This could happen if your DatabaseRegionStart webbot has an empty or missing s-columnnames or s-columntypes attributes. You may need to read Microsoft Knowledge Base Article 817029." ...which is displayed after setting fp_DEBUG to True in the fpdbrgn1.inc file as mentioned previously. (Of course, that KBA 817029 is non-existent.) When the custom query is done on the update page that sends the change to the database, it doesn't seem to include the field names and attributes in the database region of the page. On the update page, look for "<!--webbot bot="DatabaseRegionStart" s-columnnames s-columntypes" in the code view of the update page and add the names of the two fields referenced in the query and the appropriate code for the type of field it is. For example: s-columnnames="PART_NO,PRICE" s-columntypes="202,202" I have two fields here, and both are set up as text fields in the DB (202.) Other codes are 3 for numeric, 135 for dates, 203 for memo (I think.) So if I decide to use a numeric field for price, it should be: s-columnnames="PART_NO,PRICE" s-columntypes="202,3" Regardless, this worked right way for me and I'm a happy camper after spending hours troubleshooting.
|
|
|
|
Report Abuse |
Date: 1/25/2004 11:08:27 AM
 |
|

canuck21a
Posts: 1
Member since: 3/24/2005

|
RE: Frustration with Database Interf... (in reply to Geo)
|
|
|
Please note that I have had a small degree of success with oneof my more simple database tests with FP2003. I too was..maybe still am..frustrated with things that simply do not always work. Front Page 2003 DataBase Editor Wizard - Problem with Edit not being accepted. 1. Read the article from the forum on the missing parts of the webbot, but my update.asp page had the correct values.....still did not work. 2. Had previoulsy read somewhere about a Microsoft bulletin about failed FP wizard database updates. 3. The article indicated the the update fileds need to be in brackets, like [NAME] as opposed to simply NAME. (My version: SET Date versus SET [Date}) 4. I decided the try that in the Update Query (see second section of my file details) FP would not let me change it for some reason so I edited it in a trext editor and saved the file. 5. Tried the database editor on a record and it was now accepting changes. <!--webbot bot="DatabaseRegionStart" s-columnnames="ID,Date,Details,Author" s-columntypes="202,202,202,202" s-dataconnection="notices" b-tableformat="FALSE" b-menuformat="FALSE" s-menuchoice s-menuvalue b-tableborder="TRUE" b-tableexpand="TRUE" b-tableheader="TRUE" b-listlabels="FALSE" b-listseparator="FALSE" i-ListFormat="0" b-makeform="FALSE" s-RecordSource s-displaycolumns s-criteria s-order s-sql="UPDATE Notice SET Date = '::Date::' , Details = '::Details::' , Author = '::Author::' WHERE (ID = ::ID::)" b-procedure="FALSE" clientside SuggestedExt="asp" s-DefaultFields="Date=&Details=&Author=&ID=" s-NoRecordsFound="Record updated in table." i-MaxRecords="1" i-GroupSize="0" u-dblib="../../../_fpclass/fpdblib.inc" u-dbrgn1="../../../_fpclass/fpdbrgn1.inc" u-dbrgn2="../../../_fpclass/fpdbrgn2.inc" Tag="BODY" startspan BOTID="0" preview="<table border=0 width="100%"><tr><td bgcolor="#FFFF00">< font color="#000000">This is the start of a Database Results region.</font></td>< /tr></table>" --><!--#include file="../../../_fpclass/fpdblib.inc"--> fp_sQry="UPDATE Notice SET [Date] = '::Date::' , [Details] = '::Details::' , [Author] = '::Author::' WHERE ([ID] = ::ID::)"
|
|
|
|
Report Abuse |
Date: 3/24/2005 10:26:27 AM
 |
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|