Hi
I'm new to VBScript, so this is probably a very simple issue.
I've created a Data Access Page in Access 2000, and it uses 4 tables to group data into a hierarchy. I have a command button at one of the levels, which on clicking will retrieve the record the user is currently on.
In order to do this I want to retrieve th value of one of the text boxes at that level and am using the code:
Dim sMsg
sMsg = document.all.item("txtLevel4Desc").Value
but I get an error when I click on the button telling me the property isn't supported. I'm not sure why this is incorrect as it is listed on the Microsoft site. Is there an alternative way to do this?
Also if anyone can suggest a good website as a starting point for using VBScript with access that's be great.
Thanks in advance.
I'm new to VBScript, so this is probably a very simple issue.
I've created a Data Access Page in Access 2000, and it uses 4 tables to group data into a hierarchy. I have a command button at one of the levels, which on clicking will retrieve the record the user is currently on.
In order to do this I want to retrieve th value of one of the text boxes at that level and am using the code:
Dim sMsg
sMsg = document.all.item("txtLevel4Desc").Value
but I get an error when I click on the button telling me the property isn't supported. I'm not sure why this is incorrect as it is listed on the Microsoft site. Is there an alternative way to do this?
Also if anyone can suggest a good website as a starting point for using VBScript with access that's be great.
Thanks in advance.