ms-access


Runtime error in vb6:operation not allowed when object is closed


Runtime error in vb6:operation not allowed when object is closed
Private Sub cmdenter_Click()
If MsgBox("Enter the Record?", vbOKCancel + vbQuestion, "ENTER") = vbOK Then
db.Execute "insert into TM_REGISTRATION (Registration_No,Application_No,Session,Admission_Date,Student_Name,Class,Fathers_Name,Fathers_Mobile,Mothers_Name,Mothers_Mobile,Guardians_Name,Guardians_Mobile,DOB,Gender,Religion,Nationality,Caste,State,Permanent_Address,Present_Address,District,Pincode) values('" + txtregdn.Text + "','" + txtformno.Text + "','" + Combo1.Text + "','" + Format(mskadmdt.Text, "dd-mm-yyyy") + "','" + studentname.Text + "','" + Combo2.Text + "','" + fname.Text + "','" + fmobile.Text + "','" + mname.Text + "','" + mmobile.Text + "','" + gname.Text + "','" + gmobile.Text + "','" + Format(mskdob.Text, "dd-mm-yyyy") + "','" + Combo7.Text + "','" + Combo3.Text + "','" + Combo4.Text + "','" + Combo5.Text + "','" + Combo6.Text + "','" + txtaddress1.Text + "','" + txtaddress2.Text + "','" + district.Text + "','" + pincode.Text + "')"
Call clear
Call call_data
End If
End Sub

Related Links

MS ACCESS: Populate a subform with data from another table
how to read one field from one record
How do you dynamically create controls on a MS Access form?
MS Access date sorting with date/time components combined in one text field
Using Access 2003 VBA, I want to be able to have a report come up on the screen, not print out. But it doesn't work
“invalid use of null” for vba function that returns variant
Refresh combo box in Access 2007 without coding
select top 700 * from objectaer work only in sqlserver 2005 but 2008
All of my reports in MS Access were suddenly deleted
Calculate Total Event Attendees
How can i set field value in grid form Ms Access via VBA
MS Access VBA FileSystemObject does not accept path with spaces in them
Access 2003 Chart X-Axis is truncated
How to know menubar control item properties
MS Access - Using time values without Date values
Automatically populate an Access database from a script

Categories

HOME
ms-access
testng
image-processing
isabelle
mfc
json.net
raspberry-pi
tizen-web-app
amortized-analysis
sql-server-2016
upload
gorm
user-input
correlation
remote-access
messages
iron-router
libtiff
progressive-web-apps
highlight.js
propel
google-pagespeed
swiftlint
tibco-mdm
wijmo
numerical-methods
bootstrap-material-design
minitab
typo3-6.2.x
replaceall
atlassian-crucible
libssl
kendo-datasource
quote
newline
sql-server-2012-express
preg-match
xquery-3.0
airconsole
ioio
noraui
pim
webtest
lxd
uiswipegesturerecognizer
wallpaper
suricata
devextreme
swift3.0.2
occlusion
splice
tasker
texmaker
botbuilder
nomethoderror
cubic-spline
avconv
smartcontracts
appcompat
hibernate-tools
python-c-api
jlink
return-value
jxcore
forever
nodebb
font-size
zendesk-app
minimization
account-kit
specrun
angular-strap
visual-c++-2008
nxt
azure-sdk
log4c
file-writing
mathematica-frontend
django-debug-toolbar
react-native-listview
make-install
nessus
goose
srand
t4mvc
quicklisp
ios9.1
streambase
lustre
csquery
gadt
tt-news
android-imagebutton
relocation
code-access-security
valueconverter
hippomocks
srs
mcts
mysqltuner
bulkloader
file-locking
gwt-rpc
jquery-mobile-dialog
ocunit
specification-pattern
anonymous-methods
coderush
broken-links
multipage
reddot
gwt-ext
spyware
gcj
mod-auth
invite
radcombobox
gallio
preference
rescale
ncqrs
libs
mtj
simpletest
noscript
.net-1.0

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App