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...
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...
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...
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...
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...
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)...
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...
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
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.