Grid Add Session

This public forum is for user-to-user discussions of ASPMaker. Note that this is not support forum.

Grid Add Session

Postby JAW » Fri Jan 05, 2018 12:41 am

Hello,
I am using Grid Add on a List page. I am also using Error Checking to make sure the user is entering the correct data. I am hiding fields on the List Page but only when ?a=gridadd is in the URL. When the user enters incorrect data and the page returns it does not have the ?a=griddadd but the records are populated with what they entered. Is there a session that is used for ?a=gridadd that I can using instead of request.querystring? I need to hide these fields when an error is produced as well, right now when an error is produced it shows all hidden fields.

Thanks
JW
JAW
 
Posts: 65
Joined: Tue Nov 20, 2012 8:26 pm

Re: Grid Add Session

Postby motfs » Fri Jan 05, 2018 10:19 am

Check CurrentAction, e.g.:
If <Table>.CurrentAction = "gridinsert" Then
' Your Action
End If
motfs
 
Posts: 710
Joined: Tue Sep 08, 2015 4:55 pm


Return to General Discussion (ASPMaker)