×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

grid

grid

(OP)
I thank with all my heart everyone who helped me...
Now....
I created a (form.scx) Shows
Three columns in grid ..on of column content combo box ...
the problem

When I work with the mouse put the first (nameid) value that contains the combo box and move to the next line, I find that the first line changes the value
I have attached the form.



help me

RE: grid

Hi,

You did not define neither the ROWSOURCETYPE nor the ROWSOURCE of your combo. Furthermore you may want to set its STYLE to 2

hth

MarK

RE: grid

(OP)
hi thank for answer me
i am define the code
thisform.grd1.Column3.combo1.Margin = 0
thisform.grd1.Column3.combo1.BorderStyle =0
thisform.grd1.Column3.combo1.BoundTo= 2
thisform.grd1.Column3.combo1.ColumnCount = 2
thisform.grd1.Column3.combo1.BoundColumn = 2
thisform.grd1.Column3.combo1.Columnwidths = "200,0"
thisform.grd1.Column3.combo1.RowSourceType = 3
thisform.grd1.Column3.combo1.RowSource = "Select Name, Id From crsShiftNames Where crsShiftDistribution.Shift == crsShiftNames.Shift Into cursor crsNames"
thisform.grd1.Column3.combo1.SpecialEffect = 1
thisform.grd1.Column3.combo1.Style = 2
did you see the form

With that, you can attach a form to me, of course, with the correction, and I will be grateful to you

RE: grid

Hi

Quote:


thisform.grd1.Column3.combo1.RowSource = "Select Name, Id From crsShiftNames Where crsShiftDistribution.Shift == crsShiftNames.Shift Into cursor crsNames"

The result will be an endless loop since it will change asa the record pointer moves in crsShiftNames

You may want to try

CODE -->

thisform.grd1.Column3.combo1.RowSource = "Select Name, Id From crsShiftNames Into cursor crsNames"

or

*!* Define the variable lcVariable

thisform.grd1.Column3.combo1.RowSource = "Select Name, Id From crsShiftNames Where crsShiftDistribution.Shift == lcVariable Into cursor crsNames" 

hth

MarK

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close