Database Problems
$30-5000 USD
Płatność przy odbiorze
I'm having trouble with some code in my database application thats for my school project. I keep getting "This action was canceled by an associated object".. Heres the code in question.... ===== Private Sub Command4_Click() Dim a As Integer If (OKtoadd = True) Then With [url removed, login to view] .AddNew !ProductNum = IIf(Text1 = "", "N/A", Text1) !OrderQuantity = IIf(Text2 = "", "N/A", Text2) !Price = IIf(Text3 = "", "N/A", Text3) !ProductDescription = IIf(Text4 = "", "N/A", Text4) .Update End With OKtoadd = False [url removed, login to view] = False [url removed, login to view] = True [url removed, login to view] = True a = MsgBox("Record has been added sucessfully!", vbInformation + vbOKOnly, [url removed, login to view]) ElseIf (OKtochange = True) Then [url removed, login to view]!ProductNum = IIf(Text1 = "", "N/A", Text1) [url removed, login to view]!OrderQuantity = IIf(Text2 = "", "N/A", Text2) [url removed, login to view]!Price = IIf(Text3 = "", "N/A", Text3) [url removed, login to view]!ProductDescription = IIf(Text4 = "", "N/A", Text4) [url removed, login to view] OKtochange = False [url removed, login to view] = False [url removed, login to view] = True [url removed, login to view] = True a = MsgBox("Record has been updated sucessfully!", vbInformation + vbOKOnly, [url removed, login to view]) End If End Sub ====== I forgot to mention that I havnt any money to offer
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Platform
Windows XP
Numer ID Projektu: #2853608