Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

combo box prob

Status
Not open for further replies.

DanNorris2000

Technical User
Nov 10, 2000
186
US
In my data environment I have Contract.broker, contract.origco and contract.cedants all with a 1 to 1 relationship to the Clients file. In the DE I have Clients (indexed on broker), Clients1 (indexed on origco) and Clients 2 (indexed on company). So The Contract file is linked to 3 versions of the same file. On my form I have 3 dropdown combo boxes. Broker, Origco, Cedant which will be used to update the Contract file. When I view the form and move thru the records everything looks good. If I try to tab from one combo box to the next I get illegal op.
 
I presume you have used 'use again' client as client1/2 etc. I also assume the orders for these client/1/2 are properly set under DE order property of the respective data files.

Probably, rebuilding the combo with right choice of the clients file will solve the matter.

ramani :)
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
 
"use Again" is waht you have said as three versions of the same DBF. I think you have opened the same file three times with three diffrent set order.
In your combo box you shoud use the relevent alias matching with the required index.

In programme we write

USE MyFile ORDER 1 IN 1 ALIAS MYFILE1
USE MyFile ORDER 2 AGAIN IN 2 ALIAS MYFILE2
USE MyFile ORDER 3 AGAIN IN 3 ALIAS MYFILE3

In the Combo you should use the appropriate myfile1 or myfile2 or myfile3.

Hope this helps you.

ramani :)
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top