- Strength to Increase Rep
- +9
- Strength to Decrease Rep
- -2
- Upvotes Received
- 39
- Posts with Upvotes
- 34
- Upvoting Members
- 28
- Downvotes Received
- 4
- Posts with Downvotes
- 4
- Downvoting Members
- 4
370 Posted Topics
![]() | Re: Your first step is to work out your data model. Think about the data elements you want to store and how they relate to one another. |
Re: I think the object of school assignments is that you do them yourself | |
| |
Re: You are best to use a mac. Download xcode and start from there. there are some excellent tutorials on iTunesU | |
Re: Create a dataset using a SQL statement to combine your multiple data and then use this as the recordsource for the datagrid. | |
Re: if you double click on the control it should generate the appropriate handler for an click event. | |
Re: how do you want to connect it, via a serial port or USB | |
Re: No switch takes an integer you need if then else if construct if ([textfield.text isequaltostring:@"someCase"]) { // do something } else if ([textfield.text isequaltostring:@"anotherCase"]) { // do something else } else { // do yet another thing } | |
Re: That is not a label that is a text field. Drag a label across from the object library, it will have type of UILabel. If you are using the latest version of xcode you should be putting an underscore on the front when referrring to them locally, [_label setText=@"Hello World"]; … | |
Re: NSArray *dateFormats = [NSArray arrayWithObjects: @"dd/ mm / yyyy", @"mm / dd/ yyyy", nil]; NSString *selectedDateFormat = [dateFormats objectAtIndex:formatSelected]; | |
Re: Yes, you do not need to synthesise them if the setters and getters are as simple as above. In recent versions the "_" on the front is for the internal representation of the property. You also do not need the statements on lines 3 & 4. Properties are the external … | |
Re: There are bar code fonts you can download and install on your PC for the purpose. Just google "barcode font" and you will find plenty. Using this font you can print barcodes on your normal laser on A4 etc however if it is for a shop you may want to … | |
Re: Nothing really it is just a matter of personal taste, you can use either as you wish. | |
Re: I would check out the Stanford Uni lectures by Paul Hegarty on iTunesU | |
Re: Have you thought about breaking up the form into a number of smaller forms and containing them all in a parent form. | |
| |
![]() | Re: You need the nil to indicate the end of the list. Also float is a primitive data type and so wont work in this context. You should use NSNumber (which is an object) rather than float. |
Re: This is not normalised properly, Time, Date and Day should all be housed in the one field using a type of Date/Time. When you display them you can choose to display the one field three times for each of the values. | |
Re: WIA is your best bet if your scanner drivers support it. Otherwise you will need to use TWAIN. There is a product called EZITWAIN which I have used at a client where WIA did not work. | |
Re: Are you sure this is the correct approach, the barcode scanners I have used present the data as if it had been typed on the keyboard. ie. you set focus to a text box, scan the barcode and the barcode appears in the text box followed by a CR. If … | |
Re: if you are being prompted for "Forms!f_TopicSelect!cboTopics" then it does not recognise it as an object. To cut to the chase, here is what I think you want to achieve. Create a tabular form to display notes and topics from the notes table using the form wizard. In design view … | |
Re: You need to use Set when you are assigning objects but not when you are assigning variables. | |
Re: on line 16 you should have [QTY]=[QTY]-@QTY however it looks like the employeeId is the primary key to Inventory file which seems somewhat strange. | |
Re: The chart wizard in Excel should be all you need. just add a chart to your spreadsheet and step through the wizard | |
Re: see here [Click Here](http://en.wikipedia.org/wiki/SpringBoard) | |
Re: if you are using ARC then yes | |
Re: you already asked this on the VB.Net thread which are you using | |
Re: it looks very much like homework you should be doing yourself. | |
Re: you can probably buy VB6.0 on eBay. .Net is available for free from the microsoft website. | |
Re: I am not sure why you have declared input and i as arrays, this seems wrong. and the * before i in two spots on line 11 should not be there. an int is a primitive of the language and not referenced with a pointer. | |
Re: I presume you are talking about IOS,you need to investigate core-location and map kit however as of the release of IOS 6 a few days ago Apple is using its own mapping not Google. | |
Re: so what has this to do with VB6 | |
Re: you could perhaps add another column called "selected" to your employee table which is a Yes/No value that users can check. Then have a piece of SQL to insert the employee ids of the selected values into the other table, somethings like INSERT INTO newTable (EmployeeId) SELECT EmployeeId FROM Employee … | |
Re: If you don't know how to create a module, I suggest you take a tour of vb first and get an understanding of how VB works prior to commencing such an abitious program. | |
Re: the if statement does not make a lot of sense it probably should be something like if not isnull(datagrid1.col(0)) then or if datagride1.col(0) <> 0 then | |
Re: if there are 7 rows there is going to need to be 7 addnews one for each row with an id of 1 2 3 etc and scores from each text box. also you might like to consider using SQL INSERT statement to insert the rows rather than an addnew. | |
Re: You could do this but you probably won't want to. Word is not designed for storing data and really excel isn't either. Store your data in a database and use word or excel to display it. | |
Re: post some code and the error you are getting | |
Re: I think you are jumping the gun here, for example the decision to save your records is a decision for the technical design. At this stage you don't really even have functional requirements tied down, let alone a functional design. Start with a needs analysis, ie a detailed understanding of … | |
Re: If you just want a csv file you don't need excel. open "c:\datafiles\homers_lineup_wk_1" for output as #1 write #1, var1, var2, var3 close #1 | |
Re: This is set up in your SQL at line 9 above. SQL = "SELECT * FROM someTable WHERE Field1='" & textbox.text & "'" | |
Re: I presume you have solved this by now, but you need to shift the declaration of the object from the button press event to the .h file. Also declare it as a property if you want it a publically accessible object. | |
Re: if you want all of the dates between two dates you will need an array or collection to house them, a single variable will not do. use the DateAdd function to iterate through the dates aDay = dateadd("d",1,datehired) do until datediff("d",aDay, dateend) <=0 'add date to array or collection aDay … | |
Re: Have you tried something like below > frmDisplayLockerInfo.TextBox5.Text = DataGridView1.Item(7, i).Value & "" I am not on a PC with a .NET environment so you may need to test it but it is the way I usually address this problem in VB | |
Re: barcode fonts are quite tall are you sure your UILabel is tall enough | |
Re: Just at a glance I think you should move msgbox "Report Complete" to the next line. Generally speaking in VB if you have it on one line it is viewed as a complete statement hence the first else if is not considered part the statement. Alternatively move the ElseIF to … ![]() | |
Re: you usually use Touch Up Inside for a button press event. | |
Re: if [Tour Id] a number, if it is you should not have the single quotes in the the expression > strSQL = "Delete From Tour Where [Tour ID] = '" & fgdTour.TextMatrix(fgdTour.Row, 1) & "'" ie strSQL = "Delete From Tour Where [Tour ID] = " & fgdTour.TextMatrix(fgdTour.Row, 1) |
The End.