Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by chriscorran

  1. chriscorran

    NEED HELP WITH UPDATE PROCEDURE

    Hi, I find that its easier to read and easier to spot any mistakes or left out inputs if you don't concatenate your inputs and use the parameters.append way. Also is you're updating records and you dont need to return a recordset use adExecuteNoRecords when you call execute. It's apparently...
  2. chriscorran

    SP Not Returning Value

    Maybe it's because you've simplified your code but theres no mention of you calling the actual procedure. Ie. You have a stored procedure that returns a value, but you dont actually say to the procedure, do your thing. Heres a simple stored procedure and some code that uses it. Hope this...
  3. chriscorran

    Is Visual C++ noticably faster than VB. ie. A database application.

    Hi, What I really want to know is if the extra speed of VC++ is worth the effort in learning it, when compared to the quickness of devlopment and basically the easiness of VB. (excuse my bad spelling!!!) Is VC++ noticably faster? For example a database application. Both using ADO but one...
  4. chriscorran

    How to select the first item in a selected row using the list control

    Cheers fella. You put me on the right track. In OnInitDialog() m_lv_control.SendMessage( LVM_SETEXTENDEDLISTVIEWSTYLE, 0,LVS_EX_FULLROWSELECT );
  5. chriscorran

    How to select the first item in a selected row using the list control

    Hello !!!!!!!!! I need to be able to pull out the first column value for a specific row using the list control. I can do it but only if I click the actual first column. Is it possible to choose the first column value even if I click the second or third column. It's really easy in VB but I...
  6. chriscorran

    Setting the index of a listbox to a _bstr_t value using ADO !!!

    Hi, I am learning ADO and can fill a list box with information from a database. The problem is that as I add information to the list box I want the index of that line of information to be set to a specific value. ie. A value (id) from the database. The reason for this is so I can double...
  7. chriscorran

    HELP !!!!! Debug Assertation Failed

    Hi and thanks by the way, The thing is I tried the actual sourcecode from a book and that gave me the same message. m_spin1 and m_slider1 are initialized. By that I mean that they have their ranges set in the oninitDialog section, ie. m_spin1.SetRange(0,10); m_slider1.SetRange(0,10,TRUE)...
  8. chriscorran

    HELP !!!!! Debug Assertation Failed

    Hi, This is the bit that is causing the problem, but why?????????? void CCommonControlsDlg::OnChangeEdit1() { m_slider1.SetPos(m_spin1.GetPos()); }
  9. chriscorran

    HELP !!!!! Debug Assertation Failed

    Hi, Why am I recieving the error message below when my program has no errors or warnings? Debug Assertation Failed Afxcmn.ini I am learning the basics of VC6++ and the program in question uses a slider, a spin control and an edit box. The actual program runs and works but only after clicking...
  10. chriscorran

    Realtime data vs ADO 2.7

    Hi I'm very interested to find out if you got this working as I too would like to write an app like this. If if you could pass on any good web pages that tackle this kind of app I'd greatly appreciate it, or even if you could point me in the right direction. Thankyou in advance, Chris
  11. chriscorran

    DATAREPORT! ROWS OF DATA AS WELL AS SINGLE LINE DATA. POSSIBLE???

    If anyone else has a problem like this, this is how I got the thing to work. It all boiled down to making sure that all the data that I collected using the dataenvironement was hierarchically correct for my report. ie. I needed. job: 123 order: 12 qty descrip cost total 2...
  12. chriscorran

    DATAREPORT! ROWS OF DATA AS WELL AS SINGLE LINE DATA. POSSIBLE???

    Hi, Thanks for your advice. The thing is though, within my data environment, the stored procedure will get information which in turn will be used by child commands. As a child command needs to have a relation set up before hand, inorder to link it to its parent, it doesnt work as the...
  13. chriscorran

    How to pass the query to Data Environment Designer

    Hi, I too need to pass a param to a stored procedure inorder to get the relevant information. The thing is though, within my data environment, the stored procedure will get information which in turn will be used by child commands. As a child command needs to have a relation set up before...
  14. chriscorran

    DATAREPORT! ROWS OF DATA AS WELL AS SINGLE LINE DATA. POSSIBLE???

    Hi, Thanks for your response by the way. Is this somewhere on the right track. Sorry if this is a simple topic for you. 1. Sort out Data Env with paramed stored procedures. 1 for job bit and 1 for detail bit. 2. Insert a group header/footer. (I think/hope thats what you meant by a sub...
  15. chriscorran

    DATAREPORT! ROWS OF DATA AS WELL AS SINGLE LINE DATA. POSSIBLE???

    Hi, I have no problem creating a report ie. 2 gloves 5 10 1 hats 50 50 7 shoes 6 42 Select all your data and then it gets listed yeah ! Row after row of info. This is great but what if you have SQL gotten, info to display that only needs...

Part and Inventory Search

Back
Top