As far as I know those codes are standard with a delete record command button. Removing one of these lines just disable the delete action.
Any other suggestions
I am trying to help out someone with a problem
The person has a form with a listbox. Clicking on an option in the listbox opens a second form with info on that item. The second form has a delete button to allow user to delete that same record and requery the list. Everything goes fine but for...
I would like to stay away from using the ActiveX Calendar control in my applications. Does anyone have a calendar form that can be opened with a button on the main form and than populates a textbox on the main form after clicking on a date on the calendar form.
I did found a sample somewhere but...
When opening my powerpoint presentation I found out that all my slides were gone, except 5 that have an unknown content. One slide only has [shell] in it and another one [IE].
Any idea what went wrong????
I am intrigued about your question myself and see what could be done with VB6. I did not want to copy your post without your consent. I suggest to post this on another site of this forum
Visual Basic (Microsoft): Version 5 & 6
Maybe they have an answer to your question.
I am using the following code to set a label to invisible if the textbox is empty. It works great for each textbox / label on the report, but the problem is that I have to set it for each one.
If Me.Textbox = “ “ or IsNull (Me.Textbox) Then
Me.Label.Visible = False
Else
Me.Label.Visible = True...
Steve
The code works fine and I don't mind setting it for each field. What I'm also looking for is for the next textbox to move into the space of the previous empty one. I did set the properties to Can Shrink and Can Grow, but it doesn't work.
Any suggestions
Marcel
Hi Maerts
Yes that problem can be solved, but I have a question first. Did you do the step by step or install the AcLicn97.exe file.
Only the second will help, but I'm think I remember (it's been a long time ago) you need to install a second file. I have those on my home PC and look them up...
You did understand the problem allright. Here's are the specifics you asked for. Both forms are full screen. Form B is opened by using a command button on form A after selecting a person in the listbox. As already explained it is supposed to open with a new record for the person choosen and the...
I usually do not post the same problem at multiple sites, but I am desperate for help.
I am looking for the code that will set all labels in the section of one report to not visible when the corresponding fields are empty.
The report is bound to a query populated by a form. Each form receives...
I have a report with multiple fields (textboxes and corresponding labels). They are all lined up horizontally one under the other. The form is bound to a table populated through a form. Not all fields will be populated on that form for each record. I would like to set a procedure on the OnOpen...
I kinda posted this earlier but I’m still stuck.
Form A has listbox and button. I chose a name on the listbox and click on the command button to open a new form (filter is NameID). Like to open this new form with a new record for that name and with the name already displayed. This form is bound...
Have a form with a listbox. Clicking on an option in the listbox populates the fields related to that person on the form. How do I set the property of a form so it opens with all fields empty, but still shows the options in the listbox and allowing me to call the appropriate record. If I set the...
Have a form with a listbox. Clicking on an option in the listbox populates the fields related to that person on the form. How do I set the property of a form so it opens with all fields empty, but still shows the options in the listbox and allowing me to call the appropriate record. If I set...
Have a form with a textbox and listbox. The textbox has an on key function to search for a corresponding item (sorted alphabetically) in the listbox. When the textbox is empty, the first item is highlighted. When I key in a choice in the textbox the search scrolls down as expected, but the...
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.