Database-Driven Subfile Formatting
Posted: Wed Aug 18, 2010 2:18 pm
Hi All,
I've been working on a program recently that uses a database-driven subfile, mainly due to the fact that the subfile can contain more than 9999 records. I would've used a page-at-a-time subfile if I didn't need to export the entire subfile to CSV. So what I do is copy the needed records into a temporary work file that's externally described, and I have the subfile reading from the work file. This is working great.
Is there any way to control the formatting of the columns, such as left/right justify? If I had dynamic output fields, I could justify those individually and it works fine, but I can't edit any column formatting in a database-driven subfile. I can set the entire grid's justification, but not individual colums. I need some left-justified and some right-justified. Is there any way to accomplish this aside from redoing my workfile to be entirely text fields so I can justify them through code?
Thanks,
-RC
I've been working on a program recently that uses a database-driven subfile, mainly due to the fact that the subfile can contain more than 9999 records. I would've used a page-at-a-time subfile if I didn't need to export the entire subfile to CSV. So what I do is copy the needed records into a temporary work file that's externally described, and I have the subfile reading from the work file. This is working great.
Is there any way to control the formatting of the columns, such as left/right justify? If I had dynamic output fields, I could justify those individually and it works fine, but I can't edit any column formatting in a database-driven subfile. I can set the entire grid's justification, but not individual colums. I need some left-justified and some right-justified. Is there any way to accomplish this aside from redoing my workfile to be entirely text fields so I can justify them through code?
Thanks,
-RC