General information
Category:
The Mere Mortals Framework
Hi Matthew,
>Are you sure the datetime field is the problem? You tested this control source >with a textbox, but have you tested changing the control source for this >column in the grid to something else. If the problem persists, it could be >another column.
Originally the grid was a two column grid without a datetime field and it worked perfectly. When I added the column with the datetime source I started getting the 'Invalid ControlSource' message. I took the datetime column away, no error. I added it back, error. So, then I changed the grid to a one column grid and only put in the datetime column. I recieved the error. I took the column away, I got no error. I'm pretty sure I've approached it from every angle, but I have been working on this particular problem for a while, so maybe I'm missing the forest for the trees.
Also, I approached it this way: I added a expression to my view that converted the datetime value to the date portion only, and removed the datetime field. When I specify that as the ControlSource, it works. The problem is that I don't think you can mark that as updateable in the view. So I chose not to do it that way.
Would it help if I just added an instance of a normal text box to the grid column instead of the default gridtextbox control?
TIA,
Brian
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