> How about just setting the Value and not the position.
>
> Johnf
>
Can you explain this further John? I also tried the following, remebering
that this is a CD app, and I want to pull info from the parent form.
## *!* ## Dabo Code ID: dDropdownList-dPanel-543
def afterInit(self):
self.Form.getProjectDropdown()
def afterInitAll(self):
self.new()
def getProjectDropdown(self):
bizparent = self.Parent.Form.PrimaryBizobj
recordvalid = bizparent.getFieldVal("id")
recordvalname = bizparent.getFieldVal("projectname")
self.ddProjects.Choices = ("-Select A Project-", recordvalname)
self.ddProjects.Keys = (0, recordvalid)
self.ddProjects.ValueMode = "Key"
self.ddProjects.PositionValue = 1
I tried setting the value with the above, however the afterInitAll self.new
call set the drop down list to the key 0 and string -Select A Project-
Carey
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]