Doug,
OK, I'm confused!
What does this have to do with opening views with aliases? I don't have multiple DBCs and separate DBFs and views.
My problem is that I use views with aliases as base tables for other views and SDT does not recognize the aliases.
Thanks
Rex
>Hi Rex.
>
>OK, I've got this handled now. This assumes the DBC with the views is in the same directory as the DBC with the tables.
>
>In the Init method of SDT.SCX, find this line:
.cDatabase = lower(.oUtility.JustStem(dbc()))
and add the following code after it:
lcCurrPath = set('PATH')
>.cCurrPath = lcCurrPath
>set path to &lcCurrPath., &lcPath
Add a new property to the form call cCurrPath and add the following code after the WITH THIS statement in Destroy:
lcCurrPath = .cCurrPath
>set path to &lcCurrPath
Doug