|
kidro2 -> RE: Frustration with Database Interface Wizard (1/25/2004 11:08:27 AM)
|
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.
|
|
|
|