ntrees.com
|
Posted: 10/28/2003, 6:18 PM |
|
Can anyone help me with this.
I have a long form and I need to update often so I will not lose information already filled in.
I inserted Custon code before Show Event.
Function Page_BeforeShow() 'Page_BeforeShow @1-653D685B
'Custom Code @12-73254650
' -------------------------
ctcRealEstate.UpdateAllowed = True
' -------------------------
'End Custom Code
Update is still hidden. Do you have any suggestions
Thanks
|
|
|
ryan
|
Posted: 10/28/2003, 6:22 PM |
|
please try
'Custom Code @12-73254650
' -------------------------
ctcRealEstate.UpdateAllowed.visible = True
' -------------------------
'End Custom Code
|
|
|
ntrees.com
|
Posted: 10/28/2003, 8:42 PM |
|
Thanks ryan
I must be doning something wrong update button still hidden.
|
|
|
Hamilton
|
Posted: 10/29/2003, 4:47 AM |
|
I've noticed this problem when the URL does not contain a ?identity_id=26 type of value.
In other words, in order for the update button to appear it needs the ?id=xx of the record to be updated, otherwise - without an id, it thinks it's in "Add" mode.
Substitute the proper name of the identity field, naturally.
So if the field is called user_id use ?user_id=xx - instead of ?id=xx as in my example.
Make sure that the id of the record to be updated is in the Address line, like 'mypage.asp?id=100'. You could append this ?xyz=xx directly into the address line once your on the applicable page and see whether the button appears... and you'll know if this is the problem... you didn't make it clear in your earlier comments if you were passing in the ?identityID=xx to the update page ....
|
|
|
|