debasisdas 580 Posting Genius Featured Poster

ehe he he :D

now the gal is in trouble

translating non-english english to queen's english.

debasisdas 580 Posting Genius Featured Poster

Then, you are off topic .

That is considered thread hijacking.

debasisdas 580 Posting Genius Featured Poster

Yes, it has to be done through SQL queries by placing some extra controls like a pair of combobox and textboxes on the form.

AndreRet commented: Agreed. +7
debasisdas 580 Posting Genius Featured Poster

Expecting the world to treat you fairly because you are good is like expecting the bull not to charge because you are a vegetarian. ~Dennis Wholey

debasisdas 580 Posting Genius Featured Poster

Oh god ...oh god ...oh god ...oh god ...oh god ...oh god :scared:

Argentina, Brazil......:-O

Some one please tell him ICC does not organize soccer.

debasisdas 580 Posting Genius Featured Poster

Hi Philip,

Welcome to daniweb forum.

debasisdas 580 Posting Genius Featured Poster

so what is the problem ?

are you facing any issue with the code ?

debasisdas 580 Posting Genius Featured Poster

You need to read this .

debasisdas 580 Posting Genius Featured Poster

35600 index out of bounds

which line ?

debasisdas 580 Posting Genius Featured Poster

show some effort ans show the code that you are working on.

debasisdas 580 Posting Genius Featured Poster

Table ?

Which table ?

debasisdas 580 Posting Genius Featured Poster

654

debasisdas 580 Posting Genius Featured Poster

6 5 4

debasisdas 580 Posting Genius Featured Poster

654

debasisdas 580 Posting Genius Featured Poster

654

debasisdas 580 Posting Genius Featured Poster

you need to insert a page break after each record.

debasisdas 580 Posting Genius Featured Poster

652

debasisdas 580 Posting Genius Featured Poster

try this sample

Dim C As ColumnHeader
 Dim i As Integer
 For i = 1 To 4
 Set C = LV1.ColumnHeaders.Add()
 C.Text = "Field" & i
 C.Width = LV1.Width / 4
 Next i
debasisdas 580 Posting Genius Featured Poster

@Dani:
great job.

I can only imagine how fast you cooked it. :D

debasisdas 580 Posting Genius Featured Poster

If you read the root post of this thread carefully, soon you will realize the question was to create a command button at run time and then change the color property.

debasisdas 580 Posting Genius Featured Poster

650

debasisdas 580 Posting Genius Featured Poster

650

debasisdas 580 Posting Genius Featured Poster

650

debasisdas 580 Posting Genius Featured Poster

648

debasisdas 580 Posting Genius Featured Poster

646

debasisdas 580 Posting Genius Featured Poster

646

and i am with a trigger.

debasisdas 580 Posting Genius Featured Poster

640

debasisdas 580 Posting Genius Featured Poster

640

debasisdas 580 Posting Genius Featured Poster

640

debasisdas 580 Posting Genius Featured Poster

You need to read this and this.

debasisdas 580 Posting Genius Featured Poster

As i have already suggested, yuou may need to use some third party control.

debasisdas 580 Posting Genius Featured Poster

That's what i am trying to explain to you. you can't handle the windows key in VB. But can still handle some of windows + key combination through API calls.

debasisdas 580 Posting Genius Featured Poster

In form laod

Combo1.AddItem rs("itemcode")
Combo1.Itemdata(Combo1.NewIndex) = rs("description")

on combo_click

text1.text = combo1.itemdata(combo1.ListIndex)
debasisdas 580 Posting Genius Featured Poster

Only the 1st one.

debasisdas 580 Posting Genius Featured Poster

As i mentioned you can't handle the windows key but can call some of the API to handle some of windows + key combinations.

debasisdas 580 Posting Genius Featured Poster

The problem is because of the software of the scanner (may be the driver) is corrupted. Try to completely re install the software of the device.

Also check if the reference to the scanner components is removed accidentally from Project---> references

debasisdas 580 Posting Genius Featured Poster

is that code not working for you ?

debasisdas 580 Posting Genius Featured Poster

what you want to display if item code is not assigned .

Instead of displaying from multiple tables, create a view based on your desired logic and pull records from the view to display in the application.

debasisdas 580 Posting Genius Featured Poster

Hi Cathy,

Welcome to daniweb.

You should not hate cricket, specially when the cricket world cup is going on.

debasisdas 580 Posting Genius Featured Poster

You can't handle windows keys.

debasisdas 580 Posting Genius Featured Poster

alternate method:

Use the item data property of the Combo Box.

populate the combo like this

Combo1.AddItem rs("itemcode")
Combo1.Itemdata(Combo1.NewIndex) = rs("description")

and display the Itemdata property in the textbox.

debasisdas 580 Posting Genius Featured Poster

No, not in any grid directly as is as in Excel sheet.

debasisdas 580 Posting Genius Featured Poster

640

debasisdas 580 Posting Genius Featured Poster

and even worse cricketing knowledge :twisted:

debasisdas 580 Posting Genius Featured Poster

634

debasisdas 580 Posting Genius Featured Poster

Because South Africa has a lot of countries and a lot of countries would want to send their own teams.

:D :D :D :D :D

Bad bad ...bad geography.

debasisdas 580 Posting Genius Featured Poster

620

debasisdas 580 Posting Genius Featured Poster

check if you are trying to put a string into a VARCHAR field that is too long.

debasisdas 580 Posting Genius Featured Poster

Yes.

That should work for you.

debasisdas 580 Posting Genius Featured Poster

620

I am a Sleepwalker.