Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #2K
~6K People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums

11 Posted Topics

Member Avatar for eppitis1

Why don't you write it in the [B]Click()[/B] event...??? Like this: [CODE]Private Sub DTPicker_start_hour_click() refreshRs End Sub[/CODE]

Member Avatar for rovelyn
0
601
Member Avatar for juniorj

If [B]cuno[/B] is of numeric type, then this will be more suitable: [CODE]"SELECT * FROM Bill WHERE ID= " & val(text1.text) & " " [/CODE] If it is of [B]Text[/B] type then, [CODE]"SELECT * FROM Bill WHERE ID= '" & trim(text1.text) & "' " [/CODE] Assuming that you are using …

Member Avatar for vb5prgrmr
0
2K
Member Avatar for Israelsimba

[QUOTE]VALUES (" & txtcclientnumber.Text & ", " & cmbs.Text & ", " & txtccopies.Text &[/QUOTE] You are missing this [B]'[/B](single quotes).... :)

Member Avatar for AndreRet
0
143
Member Avatar for Sorb3t3ro

What kind of connection are you using? DAO or ADO ? How do you access the database...??? In ADO, an exapmle is: [CODE]Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Set cn = New ADODB.Connection cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source= " & App.Path & "\database.mdb;Persist Security Info=False;Jet OLEDB:Database …

Member Avatar for vb5prgrmr
0
2K
Member Avatar for bsewell

I am not sure... But why don't you try removing the line: [CODE]rs.Close[/CODE] and check whether it is working or not... :)

Member Avatar for AndreRet
0
167
Member Avatar for pankaj.garg

Q 1. Do i need to create separate recordset for each alphabet (A-Z) ? Ans: [B]Why don't you create some labels or listbox, so that you can display the alphabets. When user clicks on the alphabet, use the database to fetch the data...[/B] Q 2. How do i get the …

Member Avatar for akhileshbc
1
130
Member Avatar for deftones
Re: time

Use a [B]Timer[/B] control in your form. Then write the below code: [CODE]Dim Start_Time As String Private Sub Form_Load() Start_Time = Time Timer1.Interval = 1000 End Sub Private Sub Timer1_Timer() Me.Caption = "Elapsed Time: " & Format(DateAdd("s", DateDiff("s", Start_Time, Time), "0:0:0"), "hh:mm:ss") End Sub[/CODE]

Member Avatar for akhileshbc
0
97
Member Avatar for akhileshbc

Hi, I am Akhilesh B Chandran. I am from Kerala(India). I love programming, graphic designing, animation, gaming, etc... I am specialized in VB6 I am 19years old. Present status: studying B.Tech (Computer Science) I am always to help anyone... :) Thank you ! - Akhilesh

0
44
Member Avatar for pytup

[CODE]Private Sub Command1_Click() Dim username As String Dim password As String username = Trim(txtUser.Text) password = Trim(txtPass.Text) If username = "dawid" And password = "qwerty" Then MsgBox ("Welcome," & " " & username) Dim age As Integer age = Val(txtAge.Text) If age >= 18 Then MsgBox "You are " & …

Member Avatar for akhileshbc
0
129
Member Avatar for Jaisonkv

[QUOTE]Dim DBase As Database Dim RBase As Recordset Set DBase = OpenDatabase("DB Name") Set RBase = DBase.OpenRecordset("Table name")[/QUOTE] Try to use database name and table names without spaces. eg: [B]DBName[/B] , [B]TableName[/B]... Which line shows the error ? Make sure that the data saved to the database is of the …

Member Avatar for akhileshbc
0
142
Member Avatar for Israelsimba

[CODE] on error goto Er r.Fields("companyphone") = txtcphone.Text r.Fields("companywebsite") = txtcwebsite.Text exit sub Er: msgbox "Error occured" [/CODE] Please post your entire code inside save button...

Member Avatar for akhileshbc
0
109

The End.