Hi! I have an MDI application and I want to put a background image (the company's logo) in the MDI container itself. The problem is that when I open a child form, it is displayed UNDER the logo instead of OVER it. I tried using the SendToBack method on the image (it's a PictureBox control) but...
Hi! I'm making an application that connects to an Access database to add/delete/update fields. Now I want to be able to "upload" an image file in the database but I have no idea how I could possibly do that. I made an OpenFileDialog control to be able to select the file I want to put in the...
Hi! Just wanted to know if it was possible to make a "windowshade" mode (i.e. shrink the window to only show the title-bar, not the rest of the form) in VB.NET. Thanks in advance!
Hi! I have a small (I hope!) problem. I change the default printer (using the registry keys) to the virtual PDF printer. This works. I can also change it back to whatever the old printer was without any problem. The problem is that when I open the report with the acViewNormal parameter after...
I just noticed that if I use the mouse wheel on the main form, it changes which record is currently "selected". I certainly DON'T want that to happen. I want the records to be selected within an "Open customer file" form. I set the main form's Cycle property to "Current Record" but it doesn't...
Is it possible to clear the list of documents for a certain printer? The problem is that when I print using CutePDF and press the Cancel button instead of the Save button, it seems to stay in the list and never go away... Then I have to double-click on the printer icon in the system tray and...
Hi! I have yet another problem... I used the Printers collection of the Application object to change the printer that Access will print to when I use DoCmd.OpenReport "rptFinal", acNormal (or something like that). The code works number 1 in Access 2002 but I just saw that the Printers collection...
Is it possible to format a real number, like setting the number of decimals, the decimal separator ("." or ","), the thousand separator, etc... Thanks!
Hi! I'm totally new to PostScript. I want to use it to generate a report from Access and then convert it to PDF using GhostScript. I don't want to use any virtual printer (whether it's to generate a PS or PDF file). I would just need a few guidelines to know how to set a page's size, position...
Hi! I know there have been countless questions concerning the exportation of an Access report to the PDF format but I was wondering if it was possible to do so WITHOUT using an virtual printer or any other external program (i.e. to handle the whole creation process of the PDF with code). Thanks!
Hi! I have a problem (AGAIN!!)... I have a small form with a listbox that contains the names of the customers in the database. When I select a customer and click the open button, the main form refreshes and displays the information for the customer that I selected in the "open customer" form (it...
Hi! I have a little problem... I have a main form with a subform control that is used to display several subforms (there are buttons on the main form used to switch which subform is currently displayed). In order to save/cancel the changes made in the subform, I made a Save button (how...
Hi everyone! Here's what I'm trying to do: when a subform loads, I want to put the data of every field in a array. When the subform closes, the fields' data is restored from the array. The trick is that if the user pressed the 'Save' button located on the MAIN FORM, the array will be updated...
Hi! I have a function that generates a report by adding/deleting controls on it. When the report is opened in design mode (it needs to be opened in this mode in order to be able to delete/add controls), the properties window appears. It's not much of a problem but it's kind of annoying. Is there...
Hi! I have this report that I dynamically add some subreport controls on. Now the problem is that I DON'T want to be prompted to save the report or not when I close it. I want to undo/cancel the changes that I made on it (adding the subreport controls) without the small prompt. Is it possible...
Hi! I dynamically created a small report (with code) and I wanted to know if it was possible to close said report while avoiding the small "Do you wish to save" prompt. Thanks in advance!
I read somewhere that it was not possible to have a pagebreak inside a subreport. Is there any way to "emulate" one, to make the page "break" without using a pagebreak control? I need to do this because I have a large report containing several subsections (each section being a subreport) and I...
Hi! I'm trying to format some text fields of my report through the code but it doesn't work. I want the text to be bold if a boolean field is true and regular if the boolean field is false. Here's what I tried :
txtField1.FontBold = cBool(Me!blnField1)
When I open the report, I get an error...
Is it possible to avoid saving data when a subform loses focus? The reason I want to do this is because I want to have a "cancel" or "undo" button on my main form, not on the subform itself (because the "form" within the subform is changed with the click of other buttons), but from what I read...
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.