370 Posted Topics

Member Avatar for jacksantho
Member Avatar for joy39

isn't your SQL wrong, shouldn't it be INSERT INTO empinfo (empname) VALUES ("???") you will need to concatenate in the actual emp name instead of the ???

Member Avatar for fobos
0
150
Member Avatar for Hajira Khanum

probably something in cloud technology would be good, it is quite hot at the moment

Member Avatar for stultuske
-1
184
Member Avatar for MaxRevenge

At the stage you are at, you need to focus on develop the data model (database design) for your application, the programming will come later. Think about what data you want to store and a relational data model that could be used to represent that data.

Member Avatar for AndreRet
0
627
Member Avatar for Rizvi404
Member Avatar for Rizvi404
0
297
Member Avatar for NumOne

and what does this have to do with computer science, looks more like pure mathematics to me

Member Avatar for rubberman
0
109
Member Avatar for YAMNA MIDHAT

you never reset current, after the first pass of the inner loop and it is sitting at the end of the list and it is not reset for the subsequent pass

Member Avatar for ChrisPadgham
-2
165
Member Avatar for XeDK

Sounds to me like you need a web service, time to check with the website owner whether one exists or if one can be created. Assuming there is one, the owner of the website should have documentation on how to utilise it.

Member Avatar for ChrisPadgham
0
71
Member Avatar for gowans07

for a start shouldn't it be DESC not DEC and if you are talking to MS SQL Barcode ID cannot have a space in it, eg BarcodeId if you are talking to MSAccess then it needs to be inclosed in square brackets [Barcode ID]

Member Avatar for ChrisPadgham
0
1K
Member Avatar for khanayub_chand

install the software and plug it in. Data coming from the barcode reader appears to your program as if the user had typed it in on the keyboard

Member Avatar for ChrisPadgham
0
2K
Member Avatar for november_pooh

As Waltp says, if you want to replace the whole contents of the text box or if you only want to replace a substring in the text box text1.text = replace(text1.text,"original","new) Replace function [URL="http://msdn.microsoft.com/en-us/library/aa241892(v=vs.60).aspx"]documented here [/URL]

Member Avatar for ChrisPadgham
0
235
Member Avatar for yumyam09
Member Avatar for neh555

This forum is really about helping with technical problems not doing your work for you. Micrsoft have some very good on line tutorials which you can do that will teach you these things.

Member Avatar for Begginnerdev
0
90
Member Avatar for neh555

a web app is accessed through a browser, a window application is a stand alone program that runs on the PC

Member Avatar for Netcode
0
144
Member Avatar for bhagyap

Can you explain more about your application and what you want to achieve (not how you want to do it) There may be another solution to your problem

Member Avatar for bhagyap
-2
249
Member Avatar for irfan mustafa

i wouldn't bother doing it. Save the image in the file system and it's pathname in the database, you will save yourself a lot of problems later.

Member Avatar for ChrisPadgham
0
59
Member Avatar for jacksantho

so are the wrong records being selected or is it the correct records and the wrong data in the record

Member Avatar for ChrisPadgham
0
430
Member Avatar for jbutardo
Member Avatar for midnite11

you can use DOMdocument to process XML in VB, you use the method LoadXML(pathname) to load and there methods and properties to iterate through the XML file. A quick google search will show you how.

Member Avatar for ChrisPadgham
0
256
Member Avatar for kyklops

hmmm not really fully normalised though. How many Min/Max power combinations could you have? not that many I would have thought. If you are going down this path, why would you not just store the price rather than the Bracket id in the Wiring table. then you would not need …

Member Avatar for ChrisPadgham
0
214
Member Avatar for rhone0809

Make it the Primary Key then set it to autoincrement and the database will assign an id for you, no need to worry about it in the code.

Member Avatar for Begginnerdev
0
212
Member Avatar for jaai

you are in the wrong section, this is a Visual Basic discussion group

Member Avatar for Ancient Dragon
0
156
Member Avatar for SyncMaster170

it looks very much like an third party library, go to add-ins menu and click Add-in Manager, see if you can find something that looks like this to add to the project.

Member Avatar for SyncMaster170
0
228
Member Avatar for splitter66

The problem is that you are trying to change standard windows behavior which is not good for the usability of your program, people will find it difficult to learn and use if it does not behave in an expected manner. Perhaps you can think about an alternative approach to achieving …

Member Avatar for splitter66
0
199
Member Avatar for poojavb

Rather than calculating the Duration possibly [CODE] appointmentTime = starttime do until appointmentTime >= endtime cmbTime.Items.Add(appointmentTime.ToString) appointmentTime = appointmentTime.AddMinutes(AppointmentDuration) loop [/CODE] note that if Appointment duration does not divide evenly the last appointment will overrun the end time. If this is not acceptable you will need to add the AppointmentDuration …

Member Avatar for poojavb
0
797
Member Avatar for jbutardo
Member Avatar for kiranshrewstha

This forum is not really designed to do your homework for you. Do the design and if you have a particular problem with it someone will help you.

Member Avatar for ChrisPadgham
0
236
Member Avatar for RickCJ7
Member Avatar for Rizz84

one reason that it happens is that removing redundancy means that the redundant fields need to be recalculated each time they are required. take for example InvoiceTotal, the value is redundant because it is simply the sum of the InvoiceItem values. This means that instead of holding an Invoice Total …

Member Avatar for ChrisPadgham
0
92
Member Avatar for Peter Hers

The jet engine is single threaded so if one process is holding a lock everything else will wait. It is quite OK where there is not a great number of concurrent users but it becomes problematic with the number of concurrent users rises.

Member Avatar for ChrisPadgham
0
286
Member Avatar for jbutardo

The most robust way is to import the data into a staging table, each column in the staging table is text 255. Do your validation there before inserting the data into the product table. Alternatively you could open the excel spreadsheet as an embedded object and work through it cell …

Member Avatar for adam_k
0
547
Member Avatar for jbutardo

I know this is not what you asked but if you just want to check if it is a valid date then you can use the isdate() function.

Member Avatar for Reverend Jim
0
2K
Member Avatar for xcarbonx

I don't think peek is the correct method, you should something like .readline or .readalltext also your code is processing 3 rows and 2 cols but your data is 2 rows and 3 cols

Member Avatar for Reverend Jim
0
176
Member Avatar for Hawk123
Member Avatar for SNES

Can a purchase order have more than one product on it. if not, put a foreign key (ContractId) in the tblPurchaseOrder table. if so, put a foreign key (ContractId) in the tblPurchaseOrderLine table.

Member Avatar for SNES
0
115
Member Avatar for Jigs28

AND will only return one record if there is only one record matching the where clause. If you have multiple rows that match you will get multiple rows back, for example if your table holds the following data FLD1 | FLD2 | FLD3 XXX | 111 | A XXX | …

Member Avatar for M.Waqas Aslam
0
214
Member Avatar for ilmkidunya
Member Avatar for ilmkidunya
0
458
Member Avatar for kothaisaravan

Can I question why you want to take a screen shot. Presumably the data on the screen is derived from information stored on the webserver, why not just build a report of that data and email that.

Member Avatar for kothaisaravan
0
278
Member Avatar for aishapot

Yes since incident has a many-to-one relationship with student you need a separate table to hold incidents (probably called something like "Incident"). Personally I prefer an autonumber field as a primary key of the Incident table, say IncidentNo. StudentId should be included in the Incident table as a foreign key.

Member Avatar for Reverend Jim
0
121
Member Avatar for PrincessSasha

Well for a start you will need a relationship between Employee and User if they are not the same thing. Can you have users who are not employees, if not dump the User table and store the UserId and Password in the Employee table. The Bill will not only require …

Member Avatar for ChrisPadgham
0
131
Member Avatar for alexnovice

Possibly the simplest solution then is to install a serial port (RS232) on your PC Otherwise check if the supplier has provided an API or ActiveX control than you can use to talk to the device

Member Avatar for ChrisPadgham
0
106
Member Avatar for venomocity
Member Avatar for ChrisPadgham
0
337
Member Avatar for PF2G

I presume the image path is stored in the field imagem_box.Text are you saying that when you execute the insert command the data in column imagem_curso does not contain the forward slashes

Member Avatar for PF2G
0
233
Member Avatar for BagelAnne

Check whether maximizer uses a relational database to store its data, if it does you may simply be able to link the tables in you database to extract the data.

Member Avatar for BagelAnne
0
442
Member Avatar for nfowomola2

another approach is to compare to a formatted string something like format$(tranDate,"mmm-yyyy") = "jan-2012"

Member Avatar for ChrisPadgham
0
122
Member Avatar for supereng

This is one of the most obvious applications for the use of recursion but it is not really for the faint hearted. As WaltP says this needs some design however in simple terms you write a subroutine that takes a folder as an argument. the code in this subroutine processes …

Member Avatar for ChrisPadgham
0
604
Member Avatar for Joe Shmoe

The EXE you are refering to is the program executable I presume. You will need to create an installation EXE that packages up all the files you want to distribute. Installshield seems to be the product of choice for this purpose these days

Member Avatar for ChrisPadgham
0
66
Member Avatar for nelly_1005

Actually in Access 2002 I think you will need to use * as your wildcard not % As mentioned above by autocrat you first need to establish your data model. Probably something simple with two tables the first containing a list of phone functions and a description field. The second …

Member Avatar for ChrisPadgham
0
905
Member Avatar for violette

you need to use the isnull or nz function for example [CODE] If not isnull(tradeReceivable) Then sqlStr = sqlStr & " receivable = '" & CDbl(tradeReceivable) & "'," End If [/CODE] if the value of tradeReceivable is null then you do not need to include it in the SQL it …

Member Avatar for dspnhn
0
895
Member Avatar for smiley4080

I think you need a new entity called something like Roster that contains WardNo, Nurse, Date Also since it is a hospital you probably need shift in there as well since there will be at least 2 shifts per day and obviously the supervisor needs to be on the same …

Member Avatar for ChrisPadgham
0
289

The End.