But the element is really on the layout form Physicans and it is in the subform on Basicinfo
I tried your syntax and it still does not work.
To simplify things I stopped working with the subform and have gone to a single simple form named events.
I am now trying it from the layout form events (no subforms no command buttons nuttin)
The database is still data\num1.db
The layout form is Events
The element data that I am returning is physmedgroupname from a database named Physicans
So this is my logic
var Str1 as string
var str2 as string
// Step1
str1 = @XListValues("data\num1.db","Physicians!physmedgroupname")
I believe this is getting the data from the element physmedgroupname from the layout form Physicians in the Num1.db located on c:\sesame\data and creating them as a semicolon-delimited string as str1
// Step2
str2 = @PopupMenu(str1, "Medical Group Name")
I am hoping this is taking the data from str1 and placing it in str2 as a organized menu
//Step3
Writeln(str1)
I am guessing this is displaying the menu from str2
It would seem step 1 is correct
Step 2 seems like it would be more like just @PopupMenu(str1, "Medical Group Name")
Step 3 makes no sense to me
But for all I know the example I am following has nothing to do with what I am attempting or is a misprint. I am at the point were I am best to walk away from this for a few hours and try this again with a clear mind tonight.
The guys with the straight jackets are almost here