I am using Access 2007. I am taking field values from a form and putting them into the properties of a class object. Some values can be null, but I get the error "Invalid use of null..." because the property is expecting a value. How do I tell a property that null is ok?
For example I have this...
When the user clicks on "Cancel" the pop-up form is supposed to close itself. I am using
Private Sub cmdCancelSurvey_Click()
DoCmd.Close acForm, "frmNewSurvey"
End Sub
and I have also used the "Me" keyword for the form name. Yesterday this was working (or appeared to be working). No...
I'm trying to open a pop up form. I have tried
docmd.openform FormName:="frmCounty", WindowMode:=acDialog
and
DoCmd.OpenForm "frmNewCounty", , , , , acDialog
Either one generates the error; "The OpenForm action was canceled"
I just can't see what's wrong with this.
ScottInTexas
It's...
This may be too new for any answers but since I am trying to make this work I might as well ask one of the masters here. I have placed a ContentControl (Text) on my document. The Tag is txtTractID. I want to grab the text the user puts in that control and put it in the second text control...
OK, so I have an old version. What I need is a split function. Has anyone built one from scratch? I did a few years ago , but I am oout of practice and I am being pressured. I need to split a comma delimited string of items.
Thanks,
Scott
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.