Michael,

Have you tried it with the READ WRITE command coming before the QUERY.

Hope that helps.

David Wright

On 20 Feb 2007, at 15:35, Michael Goldsmith wrote:

A4D 4.0.2
4D 2004.5
Mac OSX 10.4.7


I am probably making a simple error but I do not see it in the following script:
<%
        import("a4d.web")
`dump query params
`dump form variables
$par2:=get form variable("par2")

$location:=get form variable("location")
QUERY([Announcements];[Announcements]Location=$location)
`write([Announcements]Heading)
READ WRITE([Announcements])
[Announcements]Heading:=get form variable("heading")
[Announcements]Paragraph1:=get form variable("par1")
[Announcements]Paragraph2:=$par2
[Announcements]Paragraph3:=get form variable("par3")
[Announcements]paragraph4:=get form variable("par4")
`write([Announcements]Paragraph2)
SAVE RECORD([Announcements])
`exit

%>

I have checked to make sure the record loads and the values are set ... everything looks good but the record is not saved.. I have tried it with and without the READ WRITE command
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/


_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to