Hi,
Just wondering, if I have a Billing table in my database that has columns, ClientID, BillAmount, BillDate, can I populate these fields into my form dynamically? Dynamically in the sense, for example I want to retrieve Billing details from Client 12345 and there are only 3 bills to date, then I will have a 3x3 table. If I query on client 23456 and there are 5 bills, then a 5x3 table appears.
Unfortunately, repeating tables ain't behaving the way (dynamically) as I hoped. An added complexity is that one of the columns has to be read only...
My current, rather lame, workaround is to use 3 list boxes to represent my 3 columns, set size margins to zero to make them look like tables, lengthen the boxes by an exaggerated amount and put them into a scrolling region. This way, the no. of rows should not exceed my list box and users can scroll via the scrolling region. However, users won't be able to update the rows this way and I have to give them a textbox or something to update.
Does anyone have any good idea on how to dynamically populate table fields from database tables? Thanks!