|
-
Feb 18th, 2006, 09:45 AM
#1
Thread Starter
Lively Member
[RESOLVED] Fill all combo boxes with data
Thanks to the forums I recieved the answer for filling all textboxes with this code but is there a way to fill all comboboxes as well
dim ctrl as control
for each ctrl in controls
if typeof ctrl is textbox and not trim(ctrl.tag) ="" then
set ctrl.datasource=rs
ctrl.datafield=rs.fields(ctrl.tag)
end if
next ctrl
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
|