This topic is locked
[SOLVED]

 Dynamic field format on Add page

12/1/2014 3:58:30 PM
ASPRunner.NET General questions
T
Tim author

Hello,
Is it possible to set the field format type on the Add page at run time? That is, when the Add page loads, set the input field (editcontrol) for one database field to "short date" or "text box" or "test field" or "number" or "checkbox"?
And if this is possible, is also possible to set it to a type "lookup wizard" (drop down, checkbox, or radio) and also define the query for available values?
Thanks for any help.
Tim

T
Tim author 12/6/2014

Never mind on this one. I came up with a solution - a bit clunky, but it works. Basically I add a field for every type that I might need and then show only the one I require. I have to then build the insert statement myself based on which filed was used. There's more, but too much to go into here.
Thanks,

Tim