Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Bombo
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00306688
Message ID:
00308739
Views:
31
Jim,

Since I have RowSource and Type set to None. Here is how I am giving my combo its list of values -
This code is in my custom method called shocker that I call from my form Init.

WITH THISFORM.myCBO
.AddItem(myTable.personnel1,.ListCount+1)
.AddItem(myTable.personnel2,.ListCount+1)
.AddItem(myTable.personnel3,.ListCount+1)
.AddItem(myTable.personnel4,.ListCount+1)
.AddItem(myTable.personnel5,.ListCount+1)
.AddItem(myTable.personnel6,.ListCount+1)
ENDWITH

So my combo has a list of names of personnel to choose from. 6 names maximum.

Sorry, I didn't get back to you sooner. I had to go into the hospital for a routine colonoscopy on Wed. morning and took a few days of rest after that. Everything is okay though. It's a family history medical thing.

Thanks again for the feedback and explanations.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Previous
Reply
Map
View

Click here to load this message in the networking platform