2,951 Posted Topics

Member Avatar for Ravi Kant

you simply need to use MDI form and other forms that you want to minimize as child form of the MDI.

Member Avatar for abu taher
0
114
Member Avatar for abu taher
Member Avatar for abu taher
0
812
Member Avatar for dev_kc
Re: JOIN

try the following [code]select b.SAL_ACC ,b.NAME ,b.ADV ,b.DT_PREP from mstr a,detail b where a.psno=b.psno[/code]

Member Avatar for debasisdas
0
89
Member Avatar for LindseyV

i didn't understand your question . What is a [B]forum[/B] window ? What do you mean by update without saving ?

Member Avatar for LindseyV
0
75
Member Avatar for abu taher
Member Avatar for VIPER5646

i don't think that is VB 6.0 code. if vb 6.0 then try this [code=vb]Dim Sql As String = "insert into Customer_tbl (Custsql )values '" & txtFirstName.Text & "','" & txtLastName.Text & "')" con.begintrans 'con-----ADODB connection object. con.execute sql con.committrans[/code]

Member Avatar for jonc
0
171
Member Avatar for firoz.raj

After the insert operation you need to call the REQUERY method of the recordset before passing the same to the displaying control.

Member Avatar for firoz.raj
0
169
Member Avatar for mandar2886
Member Avatar for guest11

you need to resize and rearrange the controls based on system resolution. You need to use X and Y coordinates of the screen.

Member Avatar for abu taher
0
174
Member Avatar for atiqjaved
Member Avatar for nonon
Member Avatar for dev_kc

You need to format the date to proper format before pasing the same to database.

Member Avatar for vb5prgrmr
0
109
Member Avatar for serkan sendur

From your post i became a bit curious and tried to trace back my old days here. My first post was in community introduction section [URL="http://www.daniweb.com/forums/thread80215.html"]here[/URL], as i was trying to post a brief intro of self ,as per the couple of stickies in that section,just to complete formalities ,before …

Member Avatar for Narue
0
309
Member Avatar for firoz.raj

comment [B]Unload Me[/B] in your code and i hope the rest wills tart working. use [B]Me.Hide[/B] instead of [B]unload Me[/B].

Member Avatar for firoz.raj
0
118
Member Avatar for jaz215
Member Avatar for vimotaru

For that you need to use a staging table and update the master table based upon data in the look up table. You need to handle the code in a PL/SQL block.

Member Avatar for debasisdas
0
136
Member Avatar for joshmo

once you COMMIT that will be reflected in the database table. if you exit without commit all the uncommitted transactions will be rolled back.

Member Avatar for vimotaru
0
136
Member Avatar for JP Romano

try the following select * from table_name where status ='Avaibale' and status not in ('Completed','Progress')

Member Avatar for JP Romano
0
104
Member Avatar for ryan311
Member Avatar for vimotaru

The simplest method will be create a view based on the table with last five days record. That will be always refreshed every time you run any query on the view.

Member Avatar for vimotaru
0
153
Member Avatar for firoz.raj
Member Avatar for vb5prgrmr
0
102
Member Avatar for confession.pt3

I don't think that is an ER diagram. That seems to be a flow chart to me. You need to understand the basis difference bewtwen the two.

Member Avatar for debasisdas
0
64
Member Avatar for PinoyDev

Add a menu item and a sub-menu to the main menu to the form. Add a picture box to the form and set its visible property to False. Add the following code to a general module (.BAS).(API Functions) ================================================= [code=vb] Public Declare Function CreateCompatibleDC Lib "gdi32" (ByVal hdc As Long) …

Member Avatar for PinoyDev
0
464
Member Avatar for Elmismo
Member Avatar for kamae

you need to convert the date and time to proper format before passing the same to database for processing through SQL statement.

Member Avatar for kamae
0
95
Member Avatar for jwill55

follow the link for your question [URL="http://bytes.com/topic/visual-basic/insights/726143-adding-items-treeview-listview-database"]link[/URL]

Member Avatar for debasisdas
0
1K
Member Avatar for klactose

do not expect us to guess and solve your problem. Please post the structure of your tables.

Member Avatar for debasisdas
0
102
Member Avatar for rambo123

delete deletes the records, which can be made permanent by using COMMIT, and can't be rolled back. Truncate deletes the rows and resets the high watermark and there by de-allocating all the space allocated to the table.

Member Avatar for debasisdas
0
116
Member Avatar for creativehacker

[code=sql]select * from dept where d_name in (select d_name from dept group by d_name having count(d_name)>1 )[/code]

Member Avatar for mir77
0
105
Member Avatar for ProgrammersTalk
Member Avatar for abu taher
Member Avatar for firoz.raj

addnew or edit method of the recordset must be called before the update method. try as the following code [code=vb] rs.addnew rs.Fields("Supplier_id") = Val(Text1.Text) rs.Fields("Supplier_name") = Text2.Text rs.Fields("contact_person") = Text3.Text rs.Fields("contact_no") = Text4.Text rs.Fields("office_address") = Text6.Text rs.Fields("emails") = Text7.Text rs.Fields("website") = Text8.Text rs.Fields("Fax_no") = Text5.Text rs.Fields("item_type") = Combo1.Text rs.Update [/code]

Member Avatar for cguan_77
0
167
Member Avatar for ryan311
Member Avatar for redean
Member Avatar for amarsha4

there is no such thing like most recent record in database. there is no way findout the most recent record. you need to pass some value to fetch the record.

Member Avatar for cguan_77
0
229
Member Avatar for abu taher

you need to open the recordset as per selection of the combobox input and pass the same recordset to report.

Member Avatar for debasisdas
0
111
Member Avatar for vtelebyteM
Member Avatar for debasisdas
0
107
Member Avatar for SADIYA4

you need to frame the sql query dunamically and pass the area and get the pincode from database.

Member Avatar for debasisdas
0
57
Member Avatar for tol
Member Avatar for haria_kishore
Member Avatar for aredhel.w

the code is straight forward but i am afraid that is not the complete code and has some dependency with other parts of the code

Member Avatar for debasisdas
0
143
Member Avatar for panyero2003

you do not need any code to get the value of barcode in a textbox. Once the barcode reader reads the code the value will be populated on any control having focus. what you need to do is process the value as desired , that might involve some calcuations as …

Member Avatar for debasisdas
0
79
Member Avatar for dev_kc

try the simple code [code=vb]con.begintrans 'con-----adodb connection object. con.execute "your DML statement here" con.committrans[/code]

Member Avatar for debasisdas
0
114
Member Avatar for JP Romano

if you are using oracle as database then can use external table for the best solution,but you need to extract the zip first.

Member Avatar for JP Romano
0
112
Member Avatar for firoz.raj
Member Avatar for devilz
Member Avatar for firoz.raj

Why you need all the lengthy code just try this [code=vb] con.begintrans 'con---ADODB connection object. con.execute "your insert statment here" con.committrans [/code]

Member Avatar for debasisdas
0
245
Member Avatar for jreeson

try using the following [code] Public Sub runOmitVendorQuery() SQLomitVendor = "select UserRights from tblUSERS where UserID = " & CurrentDeviceUserID Set rsOmitVendor = New ADODB.Recordset rsOmitVendor.Open SQLomitVendor, cnConnection, adOpenDynamic End Sub [/code]

Member Avatar for debasisdas
0
129
Member Avatar for ryan311

[QUOTE=ryan311;809355]help how can i know if the user is not an admin i have combo box in my combo box have a user or admin additem if he choose admin then all i want is to validate if the username and password is for admin user this is my code …

Member Avatar for debasisdas
0
112
Member Avatar for ryan311

The End.