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

Datawindow identity column 1

Status
Not open for further replies.

garyvugelman

Programmer
Jul 18, 2003
11
US
Hello everybody!

I have an identity column contract_id in my datawindow. When I add a new line in a datawindow the new contract_id is not available(visible) to user unless I update the datawindow. And even after update I have to re-retrieve datawindow so user will see the new contract_id. Question:
Is there any way I can make the new contract_id displayed after updating datawindow without re-retrieving entire datawindow?

Thanks in advance...
 
Gary,

I do not know of a way you can make it appear without re-retrieving the datawindow. But, the one thing you can do is try coding something similar to the following in a post save or update event.

dw_1.Reset()
dw_1.Retrieve(retrieval arguments if needed)

This will reset the window and then re-retrieve the data for you without the user having to click a retrieve button.

Daniel
 
Hi,

If u don't intend to reset the dw, try dw_1.accepttext()

Hope this help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top