Bob
I've done a you suggested and added some code to the init of the class
I've also tried putting it in the init event of the grid itself what seemed more appropriate to me.
Although i didn't get the error any more my grid doesn't populate with the data from the recordsource.
My code:
with thisform
.grid1.recordsource = (thisform.cMainTable)
*1) use (thisform.cMainTable)
*2) set datasession to thisform.datasession
*3) .grid1.column1.controlsource = (thisform.cMainTable)+'.spanish'
endwith
I added the *3) line to trie and populate the first column but then I came up with the old error.
Then i Added the *1) line (wich didn't feel good doing that overhere) which removed the error I got by adding line *3). Then i added the *2) line because i got desperate :-) wich didn't produce an error but still didn't populate the grid. :-(
Could you help me out with populating the grid please.
many tia
victor
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only