I'm starting to work on adding events to my project and came across two separate questions.
- In the Database File step of project creation, I pointed to an access database in my root localhost directory. After building the project, another copy of the database is created in the App_Data folder of the project. When I update a record through the newly created website, I receive a success message, but neither of these databases reflect the change. The website displays the change after logging out and back in, but when I rebuild I lose the changes here also. Do you have any ideas what might be going on here?
- In a Before_Update event, I am trying to access the field values on this page. By searching the forum I found the syntax
'Page.Response.Write(GetRequestForm("project_number"))'
When trying to run this I get the message:
Compiler Error Message: BC30451: Name 'GetRequestForm' is not declared
What is the correct syntax for accessing field values from this page?
Thank you for the help,
Paul Speck