I assume it also doesn't work outside of debug (just asking). Couple of questions...
1) window2 is a response window (should be for CloseWithReturn)
2) Where are the structures instantiated? (local, instance, ?)
I've had luck with using an application structure, instantiated locally in the...
If you take out the filter and it works, and with the filter it doesn't work, then I'd say the filter is the problem. Are you sure the filter is EXACTLY what you are expecting it to be?
Keep the SetFilter but comment out the Filter and instead display the filter string. Make sure its the...
Don't think you can combine 3 data columns on 1 edit column. Unless you have a problem with the ItemChanged event, I'd control the data that goes in the 3 columns with code in the event. Place a computed column on the DW, change the edit to RadioButton with three options, and script the...
Debug time...
Comment out all filter processing to see if the filter is causing the problem. (I'm guessing it isn't)
Make sure the datawindow data source (SQL or STP) is executing.
Make sure the datawindow data source should be returning data (trap SQL and run outside of datawindow and app).
HTH
Here's what I use for my connection string...
Provider=Microsoft.Jet.OLEDB.4.0;
USER ID=xxxx;PASSWORD=xxxxx;
Data Source=C:\dbname.mdb;
Jet OLEDB:System database=C:\dbname.mdw;
Jet OLEDB:Database Password=zzzzzzzz
Your will differ if you don't have a database password and/or different...
I'm attempting to put a CompactDatabase routine in my app, but am experiencing some issues with the permissions necessary to run the CompactDatabase method. After trying many different permissions, the only time I was able perfom the compact successfully was if the Userid I specified was either...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.