Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with @SetField

Status
Not open for further replies.

csiwa28

Programmer
Joined
Apr 12, 2001
Messages
177
I have a button and when it's pushed it's supposed to change the 'Status' field on my form, but it doesn't seem to work.

FIELD Status := Status;
@SetField(Status;"Done")

Any suggestions would be appreciated.
 
is the field computed with a default value = status or like "New"
 
put "status" in to quote marks.
 
First you must declare the field name then call the @SetField function with both the field name and the value in quotation marks:

FIELD Status:=Status;
@Setfield("Status"; "Done")

:-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top