int *array = new int [count];
count is the number of spaces in a sentence so that I could make an array with the excat number of rows...
I took a C++ class 2 years ago and now I am taking this advanced C++ course and they, teachers, assume that we remember everything.
I am sure this is a...
Hi,
Before posting anything here I searched google and the forum but unfortunately could find a solution.
The problem is, user enters max. 80 characters, program reads the input and reverse the sentence.
Example: Input is "This is just an example"
Output should be "example an just is this"...
Hi,
When I change the value of combo box, it gives me this
" Run-Time error '2001' You canceled the previous operation "
here is the code...
Private Sub cmbSize_Click()
Dim ebat As Variant
Dim idno As Integer
idno = Me.cmbStyleID.Column(0)
ebat = Me.cmbSize.Column(0)
Me.txtUnitPrice =...
I think it worked but there is another problem somewhere else. Because I get this when I change the value in the combo box.
"Run-time error '2001'
You canceled the previous operation. "
This is exactly what I have now:
Private Sub cmbSize_AfterUpdate()
txtUnitPrice = DLookup("[" &...
Actually more like...
txtUnitPrice = DLookup("cmbsize.column (0)", "SizePrice", "[StyleID] = " _
& cmbStyleID.Column(0))
in cmbsize combo box there are 16 different size. So, I want DLookUp to look for the field that has the same name with combo box value.
thanks for the effort :)
I tried this one...
=DLookUp("[3’11'’ x 5’7’’]","idprice","[StyleID] = " & cmbStyleID.Column(0))
it worked in an unsufficient way.... what I need to do is assigning a variable instead of "[3’11'’ x 5’7’’]".
as "[3’11'’ x 5’7’’]" = variable .... but I do not know how to do that, I am not...
Hi MajP,
Thank you for your both answers. Here a little example.
I have 200 carpets which come in different size. There are 16 different size and not all carpets have all size.
I have a PriceSize table which is like:
CarpetID | 2'x4' | 2'x8' | 4'x6' | ...
Hi,
How can I add a value from a form to a value in a table.
There is already a value in the table, whatever I type to textbox is going to be added to the value in that table, and at the same time it will be deducted from another table.
Thank you for your reply.
Hi,
It may be simple but I could not figure out a way to take care of it.
Simply the problem is...
2 combox on a form, the value in 1st box will give me the row number and the second combo box will define the row name, so that the value can be sent to a text box.
Propably this can be done by a...
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.