the Rand(n) function creates a number between 1 and 'n' as the upper limit. Run each number thru a loop as you create it and simply throw out any number below your lower limit. Continue to loop till you have as many as you need.
up = upper limit
lo = lower limit
list = string of 8 random...
Is it a primary key ? If not, then in the 'Update Properties', 'Where Clause for Update/delete' section turn on the 'Key Columns' radio button. That way the datawindow won't check if the other columns (including your checkbox) have changed before it updates. It is not as secure that way but if...
I guess I'm a little late here but just in case...
I think what you are looking for is "SelectedTab". You can set this property in the painter on the "General" tab or you can set it in code using:
tab_1.SelectedTab = 3
If you right click on an editable field, windows is nice enough to give you a dropdown of editing tools; cut, copy paste etc. However with Vista we are getting some extra options; Right to left Reading order, Show Unicode control characters etc. My users have absolutly no use for these new...
In addition to mbalent's comment, this is also true of any sub-reports you may be using. Even if you size it down on the main report, it is the size of sub-report that counts not the size you make it on the main report.
You can also use 'rowsmove' and move all the rows to the delete buffer directly
dw_1.RowsMove(1,dw_1.rowcount(),Primary!,dw_1,1,Delete!)
this will move all rows from the dw_1 Primary buffer to the Delete buffer where the rows will be deleted when you update dw_1.
I tried replacing the u2ddisk.dll on the test machine with the one on the developement machine (which successfully exports) but still no luck. Thanks for the suggestion.
My application allows the user to run crystal reports (PowerBuilder 7/Crystal 9). Once the report runs, the export icon brings up the export response window (format and destination). When the user clicks 'OK', the response window closes, but the Windows 'save as' window does not appear. I get no...
for whatever it is worth:
Crystal 9 help says you can down load "unicow.dll" from the microsoft site. I did that ( we are trying to move from 8.5 to 9 )but I still can't get reports to run on a '98 machine.
we are moving from crystal 8.5 to 9. I am able to open reports in crystal 9 developement and on machines that have crystal 9 installed. However when attempting to run a report from the application (using APIs and on a machine where crystal is not installed ) I am usually ( but not always )...
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.