you're referencing the column in your code for the unbound combo box. Have you tried checking the index number you're using for the column in Me.CboQuotation.Column(2)? Sometimes it might start from 0 or a different number. Double-checking that might help fix the issue you're facin
for the code part, if you're using something like Access, you can try this:
vbaCopy code
Private Sub Button_Click()
If condition1 Then
DoCmd.OpenForm "subform1"
ElseIf condition2 Then
DoCmd.OpenForm "subform2"
End If
End Sub
You'd have to replace condition1 and condition2 with your actual...
So, it sounds like you're dealing with a situation where a "phantom" record gets added if the user closes the form without entering data. To avoid this, you're thinking of triggering the code on the 'beforeupdate' event instead of the 'onload' event. The idea is to make sure the code only adds a...
Looks like you're trying to fetch the latest date from a table into an unbound text box using the expression builder. Sometimes, getting the syntax right can be tricky. Double-check if the table name and field are spelled correctly in your DLookUp formula. Maybe that's where things are going a...