2,951 Posted Topics

Member Avatar for kenneth17

try to use this as connection string. [B]Provider=OraOLEDB.Oracle.1;Password=tiger;Persist Security Info=True;User ID=scott;Data Source=orcl[/B] hope that solves your problem.

Member Avatar for debasisdas
0
207
Member Avatar for yotobeats

The problem for you is others should only be able to select records not change ,right. Its so simple you need to grant only SELECT previlege on that specified table to the users not full access.

Member Avatar for debasisdas
0
112
Member Avatar for renemejilla
Member Avatar for bsmathew

First you need to establish the connection witht he database. Then only you can execute some SQL commands for all the operations.

Member Avatar for colonelkuz
0
73
Member Avatar for dilip_singh3

If you are using crystal report viewer to display the crystal report just enable the export button from the property pallet of the crystalreport viewer.

Member Avatar for debasisdas
0
81
Member Avatar for nuBudDy

Please follow the steps. 1.Add to master table 2.commit the transaction. 3.Add to Child table and commit.

Member Avatar for nuBudDy
0
198
Member Avatar for arlowha
Member Avatar for Augustin

.CPP and .H files can't be directly referenced fronm VB. compile to .DLL file and then instanceate in VB.

Member Avatar for Augustin
0
187
Member Avatar for plusplus

there is no problem with the query . You might need to change the join condition . Kindly post both of your tables structure for more details.

Member Avatar for plusplus
0
105
Member Avatar for mmmmmmmmmmmm
Member Avatar for aynn

Make the variable storin g the username a public variable in a standard module.

Member Avatar for jbennet
0
133
Member Avatar for cguan_77

No way you can trap the events of Win Key using Vb 6.0. that is a special key for which microsoft provides no methods to handle that.

Member Avatar for debasisdas
0
70
Member Avatar for s_scorpionida

May i know how can i help you . Do you expect me to do the project for you ?

Member Avatar for s_scorpionida
0
69
Member Avatar for kehar

its better write your own function for the purpose with all the formattings.

Member Avatar for debasisdas
0
102
Member Avatar for Deidre
Member Avatar for 0123456789
Member Avatar for kehar

instead of using 3 combo boxes use DTPicker control and then find out the .Date .Month .year property of the control.

Member Avatar for hopalongcassidy
0
114
Member Avatar for nuBudDy

Try this [code=vb] select tf.time_id from tf where(((tf.rac_id= "'" fac_type & "') And ((" & tf.reserv_date)= " & booking-date & "))" [/code]

Member Avatar for kehar
0
164
Member Avatar for louislam123

Try to use the [B]Listindex[/B] of the item else try to use [B]ItemData[/B] property of the control.

Member Avatar for choudhuryshouvi
0
115
Member Avatar for sanhitabhide
Member Avatar for locsin

Find out the dfference between both the dates using Datediff. then apply the logic U want to implement.

Member Avatar for kehar
0
125
Member Avatar for yogesh_vaidya12
Member Avatar for yogesh_vaidya12
0
125
Member Avatar for hawisme000

Check for existance of username and the corresponding password in database using SQL. Try to use count() . If it is 1 then login else prompt to enter the correct username and the corresponding password.

Member Avatar for hawisme000
0
227
Member Avatar for hawisme000

try to use the RND fuction with the total no of records (using COUNT) as the max value. teen use MOVE method to move to that particular record no. NOTE:- that might repeat the same record.

Member Avatar for hawisme000
0
77
Member Avatar for hawisme000
Member Avatar for lampie
Member Avatar for ramlisarip
0
159
Member Avatar for nschessnerd

check the system time at a particular time interval using the timer event. Whwn the time is required time call the Procedure.

Member Avatar for nschessnerd
0
84
Member Avatar for me_j

simply u need to trap the start and end date of the month and run a BETWEEN query in the database using ADO to get the output.

Member Avatar for choudhuryshouvi
0
76
Member Avatar for yogesh_vaidya12
Member Avatar for Kumar Piyush

Choose a topic on which you have minimum knowledge of the requirments of the application.

Member Avatar for Ramy Mahrous
0
70
Member Avatar for fgarcia90

You can call the commondialogcontrol.showsave on a timer event. But that is not a good option to ask the user to save very frequently. why dont u call the same at the end (at the time of closing).

Member Avatar for debasisdas
0
119
Member Avatar for locsin

Try to use [B]GetChunk[/B] and [B]AppendChunk[/B] method of recordset object of ADO for the same

Member Avatar for debasisdas
0
44
Member Avatar for choudhuryshouvi

if u are using crystal report viewer to display the report then set the [B]EnableExportButton[/B] property =true.

Member Avatar for debasisdas
0
82
Member Avatar for ditty
Member Avatar for shahriar2403
Member Avatar for jhowell
Member Avatar for jireh
0
1K
Member Avatar for leovicAustria

The error message itself suggests the reason of error. U need to specify complete path of the file. Else u can store the file in the path of the exe and specify App.path in the code to avoid this error message.

Member Avatar for leovicAustria
0
147
Member Avatar for ehat

can you kindly post your table structure for reference of our experts in the forum.

Member Avatar for ehat
0
161
Member Avatar for Anupkumar

It is always recommended to use [B]Oracle Provider for OLE DB[/B] or [B]Microsoft OLE DB provider for Oracle[/B] not using the DSN for connection to Oracle from VB .

Member Avatar for debasisdas
0
288
Member Avatar for kclif9
Member Avatar for choudhuryshouvi
0
93
Member Avatar for locsin

Yo can't modify the existing one. Try to create your own component with desired options.

Member Avatar for debasisdas
0
73
Member Avatar for sethbaur
Member Avatar for jasimp
0
31
Member Avatar for Murali1311
Member Avatar for Stefano Mtangoo
Member Avatar for choudhuryshouvi
Member Avatar for BULK
Member Avatar for TLEGEND

Hi TLEGEND Welcome to Daniweb. Hope you find the forum helpful.

Member Avatar for viviennejewelry
0
56
Member Avatar for choudhuryshouvi

try the following code [code=vb] Public Sub DailyReportDisplay(Query As String) Set CRXReport = CrystalReport2 Set CRXDb = CRXReport.Database CRXReport.DiscardSavedData inti = 1 Do Until inti = CRXReport.Database.Tables.count + 1 CRXReport.Database.Tables.Item(inti).SetLogOnInfo strdblocation, "das", "debasis", "debasis" inti = inti + 1 Loop CrystalReport2.SQLQueryString = Query With FrmReport .Show .CRV1.ReportSource = CRXReport .CRV1.ViewReport …

Member Avatar for choudhuryshouvi
0
689
Member Avatar for kshrini
Member Avatar for adeel.alvi

Its really very difficult to suggest from here without having the knowlwdge of actual requirment at your side. I would suggest you instead of storing them separately ,store with some flag setting as a single entity.

Member Avatar for Temmu
0
87

The End.