Wolfe, Stephen S YA-02 6 MDSS/SGSI wrote: > IF nHuh=6 > *REPLACE in_room WITH 'Y', Check_in_time WITH TIME() > UPDATE rvCheckin SET in_room = "Y", Check_in_time = TIME() > lTuv=TABLEUPDATE(.T.,.T.) > THISFORM.grid1.RECORDSOURCE="" > THIS.REFRESH > THISFORM.grid1.RECORDSOURCE="rvcheckin" > THIS.REFRESH > nQR=REQUERY() > ENDIF > As Vince says looks like no where clause. Also noticed THIS.REFRESH will only refresh the command button I think. Maybe try a THISFORM.GRID1.REFRESH to refresh the grid.
Peter _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/%(messageid)s ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

