-----Original Message-----
How to change the datatype in the editor Page of Front
page database interface editor page. I can change the
datatype easily in the submission page (form. But when I
used other data type in EDITOR page I got the error
message. In submission page i can change the datatype
from numbers to text. Can anybody tell me how to cahnge
the datatype in the editor page.. Thanks
One way is to firts change your table, then delete and
recreate the database editor.
Otherwise, you have the find the UPDATE statement for your
table, and add apostrophes around the text value. For
example, if the SQL statement was
UPDATE mytable SET prodid = :
rodid::, ...
when the prodid field was numeric, it needs to read
UPDATE mytable SET prodid = ':
rodid::', ...
for a text field.
This is going to be a little inconvenient if you have
FP2003, because you can't run the Database Results Wizard
to edit the UPDATE statement as a custom query on page 2
of the wizard. Instead, you'll need to find it and correct
it in Code view.
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------