Hi all,
I'm having a tough time validating frames and checkboxes in VB. Lets say I have a frame, and I want one value in the frame ( Option Boxes ) checked. Basically, I don't want the frame to have a zero value. How do I do this? The code I'm using now is:
Private Sub...
Thanks for the replies, GhostWolf, will try what you said.
I'm basically looking for count values in the design section, but not count values for all records in the database, only a concerned one. I get that only in the page footer. How do I get that in the design section?
Thanks
Uttam
Hi all,
I need to have certain details in my report, like count of records where this value = this, when I create a text field in the report and fill in the code for it's control source, it displays the value for all records in the database! But if the same textbox is placed in the reports...
Hi airtabaki, TonyJollans,
Thanks for the replys! I tried using Unload Me, but I get an error saying you cant unload the object (?). I tried the macro and it worked perfect! Thanks a ton!
-Uttam
Hi all,
I have a command button "Done". When it's clicked, I want the form to close ( not hidden ), and open another form. How do I do this?
Thanks in advance
-Uttam
Hi all,
One more problem, I have a frame with 2 option buttons ( radio buttons )There is no default value. I want to validate the frame and make sure a value is selected before it enters the database. Each option's have index's 1 and 2. How do I do this?
Thanks in advance,
Uttam
Hi DBAMJA
Heres the code:
Private Sub Check0_AfterUpdate()
If Check0.Value = -1 Then
Text0.SetFocus
Text0.Text = "1"
End If
End Sub
Thanks, Uttam
Hi all,
I'm new here, had a question. I have a checkbox, check0, and a text field text0. When I check the checkbox, I want some text in the textbox. I have the code in the after update event of the checkbox, but this results in the runtime error 2115:
"The macro or function set to the...
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.