Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jjd100

    manipulating mschart with vba in access: changing label position

    I have successfully printed a number of series in my chart in a form in MSAccess. I am trying for every third data series to post the labels to the left of the first point instead of the right. The right of the data point is the default. This can be done manually by selecting the label in...
  2. jjd100

    Executing new controls blows up

    we currently have 6 tabs and no subforms. I suppose we could put some new controls on a subform, food for thought, thanks.
  3. jjd100

    Executing new controls blows up

    We have a 5-yr old Access 2003 application with about 400 controls. Late last year we could not create new controls, reviewed the postings on tek-tips reading about the 754 maximum and MSAccess's non-clean-up of old controls that have been deleted. We created a new form, copied and pasted the...
  4. jjd100

    assigning defaults to list control

    I don't really want to give this control the focus, it causes other problems. The solution chart_LTP = chart_LTP.Column(1, 0) of June 29 to assign the first item in a list box as the default works perfectly in this application and I'll be going with that, thanks everyone for your assistance.
  5. jjd100

    assigning defaults to list control

    here is the function in its entirety: Private Function PopulateLTP(iYear As Integer) As Boolean ' 29b: LY 20070417 populate the chart_LTP combo box On Error GoTo Err_PopulateLTP Dim strsql As String strsql = " SELECT ltp_nme, ltp " strsql = strsql & " FROM ltp " strsql = strsql...
  6. jjd100

    assigning defaults to list control

    MSaccess 2003 (11.6355.6360) SP1
  7. jjd100

    assigning defaults to list control

    I get: Compile Error: Method or data member not found. the compiler does not like the word ".Selected(0)
  8. jjd100

    assigning defaults to list control

    I tried that and it didn't work, I got the message "You've used the listindex property incorrectly". The good news is that I did some more reading and then figured out that I only need to assign the bound column to the listbox when assigning a default, not both columns, which in hindsight now...
  9. jjd100

    assigning defaults to list control

    I am having trouble assigning a default value to a list box control that I have which contains two columns. The code I am using in the form_open is as follows: strsql = " SELECT ltp_nme, ltp " strsql = strsql & " FROM ltp " strsql = strsql & " WHERE YEAR = " & iYear strsql =...
  10. jjd100

    How to change RecordSource of Sub Report at runtime

    I have this problem for the following reason. My subform's recordset SQL includes a field in the main form's recordset that I perform arithmetic on, and when I close the application it closes the main form first, then the subform complains that the main form's field is undefined (box asking to...
  11. jjd100

    Calling Crystal from VBA

    invoking from the shell works, the send key isn't working. Any other ideas? lots of documentation using vb.net or vb6, how about vba? :-(
  12. jjd100

    Calling Crystal from VBA

    I would like to invoke a Crystal report from VBA and pass a few parameters to Crystal as well. Does anyone know how to do this?
  13. jjd100

    Linking to Oracle views

    forget that question, I was creating the view in a different Oracle database than I was linking to in Access, a temporary brain cramp. Linking to views in Oracle works fine, looks just like a table.
  14. jjd100

    Linking to Oracle views

    I created a view in Oracle, yet when I link to Oracle (Oracle ODBC driver v 9.2) I only see a list of the Oracle tables. Is it possible to link to an Oracle view?
  15. jjd100

    horizontal scrolling of a column title with the control

    I have a situation where I had a listbox which displays the results of a query. I created some labels above it in the form to describe the contents. Life was good. The listbox is now wider than the screen, and I now scroll it horizontally, alas the labels are stationary. What is the best way...
  16. jjd100

    changes not saved on form_unload event

    Trevil, I can see where I have been confused, and that the rowsource is remaining blank once the form is closed, I have been viewing the properties of it while the form is running, my mistake. Thank you so much for your help.
  17. jjd100

    changes not saved on form_unload event

    Thanks Ken, but I still have a problem that I set the rowsources in the application, and these rowsources are automatically SAVED when I exit. Is there some way to keep these changes in the runtime scope so that when I quit the aplication they would be not be saved in the form?
  18. jjd100

    changes not saved on form_unload event

    Thanks for replying. The reason that I am trying this is to speed up form open time for a network MSAccess application, where the frontend is on the users c: drive and the backend is on the network. I found this tip in http://www.granite.ab.ca/access/performanceforms.htm. According to the...
  19. jjd100

    changes not saved on form_unload event

    I am trying to clear all of the rowsources for the controls in a form upon exiting the form, and I found this short piece of code to do just that. The code seems to run OK when I close the form, but when I open it again the rowsource values have not been cleared. I would appreciate any...

Part and Inventory Search

Back
Top