I have some forms that have subforms. What is the correct way to determine the record source of a subform. Can i select properties on the main form, scroll down to the subform name select it and find the record soure under properties or do i need to open the subform independently.
Thanks.
lewie
I have a report and I would like to place a list of affected areas at the top of the report. These would be one field from the query. So #1 do i need a subreport in the header and #2 how do i make a report list the names on a line one right after the other. not one record per line.
You'll have...
I numbered my buttons btn_1 btn_2 ect.
I was wondering how to loop through them using a for loop.
i have tried the below but keep getting errors:
Private Sub Form_Open(Cancel As Integer)
Dim rst As ADODB.Recordset
Dim ID As Integer
Dim big As Field
' Dim endoffile As Integer
'...
When I click on a button I want to run a query which will use the current buttons name or caption in it's criteria section. I can do it for a button. How do i do it for the currently selected button.
Thanks
Lewie
I want to make a main form with buttons on it and each button brings up a record. I want the caption on the button to be the name field in the record it brings up. So i essentially need to alter the caption property of a button based on a field in a table.
Please Help...
Thanks Lewie
I have a text field with name address city ect. I am extracting the pieces and building a new table with name, address, city state, zip fields. I loaded the first line in to fname and lname
what code to i use to start at the second line so i can read that. is it chr(13) and Chr(10) but how do i...
I have the following code:
Public Sub ExportADOXML(strTableName As String, f As String)
' Export the specified table as XML, using the
' ADO XML format rather than native Access format
Dim rst As ADODB.Recordset
On Error GoTo HandleErr
Stop
Set rst = New...
I am new to vb. I have a shipping form with a combo box for contacts. When a selection is made I want to fill in the information for a contact from a contact table into the forms text boxes. I can do it with an update query but then I have to requery to get it to show up and I don't feel like I...
I have a query that checks for 3 error conditions. I have a report based on that query. What is the best way to include the condition that caused the record to be printed; on the report. Like green lines for one etc. I saw nothing in the query that could be used. would i have to restate the...
Hi I put a text box named changedate on a form. It is a bound form and the box is bound to the changedate field.
I put a line of code
changedate = date
in the afterupdate event. It updates the field but it is then stuck in that record. What do I need to add to make this work properly.
Thanks
Lewie
I have a db where alot of entries were placed into fields.
They should be records. is there an easy way to transfer them other than transcribing them.
TIA
Lewie
I have 2 tables one btv with title tapetype and tapeid
one called type table with tapeid type and last#.
I have a form with title tapetype and tapeid fields. First i enter a title. then when i enter a tapetype i want it to generate a tapeid consisting of tapetype + last # so each tapetype will...
I need to add a last user and last time changed to my db.
I think when they update a record i can just let [lastdate] = date but how do i document the current user.
Thanks
Lewie
I am doing these queries based on the value txttapetype
if txttapetype is DTR it will perform these. I tried replacing DTR in the query names with the variable but it didn't recognize it. do i have to annotate it somehow so it knows its a variable. This way i can use one set to run them all...
I have a form where people enter new records. They can enter maybe 10 or 20 at a time. I have a button that creates a unique number using entered information. I can make it work for the open entry on the form but if they entered 10 new records it only works on the current form.
How do i...
Does anyone know of a problem that could cause licenses not to be released over time. Usually in about a month our license usage approaches our limit of 15 even though there are only maybe 3 or 4 people on it. Any ideas???
Thanks Lewie
I have a form with a date field which through the recordsource I have assigned today's date. I want to load it into a field in a table on form close. What is the assignment operator since = is a logical compare.
Thanks
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.