|
-
Jun 29th, 1999, 03:29 PM
#1
Thread Starter
Lively Member
Hi, I have a program where when you edit it brings up all the data. the user can edit the fields but some fields wont update. the code i have for text boxes is:
mrstrans as recordset
fldName = "Source"
mRstrans.Fields(fldName).ValidateOnSet = True
mRstrans.Fields(fldName) = TxtDetails(15).Text
Now this works fine but if i want a combo box to update it spits the dummy. The code i have for that is :
fldName = "Status"
mRstrans.Fields(fldName).ValidateOnSet = True
mRstrans.Fields(fldName) = CmbType.ItemData(CmbCmbType.ListIndex)
cmbgender is the combo box. it comes up on the form no probs but if ya edit it it dont do jack. Now my question is: Am i using the right coding to get this to update the combo box selected? Any help would be great.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|