hi, im having problem with my current project which is to insert values from variable into fields in access database. i know how to insert values from textbox into access but im having problem using variables.can anyone please help me?
nuBudDy
0
Light Poster
Recommended Answers
Jump to PostHi,
Check This:
dim TextVar As String Dim NumbVar As Currency Dim DateVar As Date Dim sSQL As String sSQL = "Insert Into MyTable(TextField,NumbFld,DateFld) Values ('" & TextVar & "' , " & NumbVar & ", #" & DateVar & "#) " AConn.Execute sSQL
REgards
Veena
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.