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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update record just added to view

Status
Not open for further replies.

parslej

Programmer
Nov 21, 2001
40
PL
I can INSERT all fields as I want to view, and it's update base tables & looks good...

but if I want second time update view's record (when I just insert in view) I can't: when I browse this view it has empty ID_MAIN field (key field) (the same as in main table) but if I close view and reopen it is filled and I can update fields what I want.

My update command:

nRec=recno('main_query') && because id_main is empty
UPDATE main_query SET start=datetime() ;
WHEN recno('main_query')=nRec

Is possible to resolve this ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top